public void run() {
if (keyReleased && screen == 0) {
for (String cmd:getCommands()) {
if (SpoutClient.getHandle().isMultiplayerWorld()) {
EntityClientPlayerMP player = (EntityClientPlayerMP)SpoutClient.getHandle().thePlayer;
player.sendQueue.addToSendQueue(new Packet3Chat(cmd));
}
if (delay > 0) {
try {
sleep(delay);
} catch (InterruptedException e) {}