Permalink
Browse files

Merged bot timeout solution from ce3236d

* Credit for this fix goes to ravngr
  • Loading branch information...
1 parent 6c708fe commit 081627b7d658cd3e7b88091a886259e0ce39f7cf @bryanburke bryanburke committed Jan 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/simpleserver/bot/Bot.java
@@ -119,7 +119,7 @@ protected void login() throws IOException {
out.writeInt(VERSION);
write(name);
out.writeLong(0);
- write(readUTF16()); // Added in 1.1 (level type)
+ write("DEFAULT"); // Added in 1.1 (level type)
out.writeInt(0);
out.writeByte(0);
out.writeByte(0);
@@ -135,7 +135,7 @@ private void respawn() throws IOException {
out.writeByte(0);
out.writeShort(128);
out.writeLong(0);
- write(readUTF16()); // Added in 1.1 (level type)
+ write("DEFAULT"); // Added in 1.1 (level type)
writeLock.unlock();
}

0 comments on commit 081627b

Please sign in to comment.