diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-15 22:29:15 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-15 22:29:15 +0100 |
commit | 2995a08324ffcde6aebd208de2b9f2cc0c7cedfe (patch) | |
tree | cdc1566f714f71991780cb70238f059ba74ee33c /src/main/java/net/minecraft/server/NetLoginHandler.java | |
parent | 35defecc412aaa7231f4e141f93ebf362bffcd5c (diff) | |
download | craftbukkit-2995a08324ffcde6aebd208de2b9f2cc0c7cedfe.tar craftbukkit-2995a08324ffcde6aebd208de2b9f2cc0c7cedfe.tar.gz craftbukkit-2995a08324ffcde6aebd208de2b9f2cc0c7cedfe.tar.lz craftbukkit-2995a08324ffcde6aebd208de2b9f2cc0c7cedfe.tar.xz craftbukkit-2995a08324ffcde6aebd208de2b9f2cc0c7cedfe.zip |
Removed some unneeded code, possibly fixed animal spawning
Diffstat (limited to 'src/main/java/net/minecraft/server/NetLoginHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetLoginHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java index 0b28759a..25944dd7 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -15,7 +15,7 @@ public class NetLoginHandler extends NetHandler { private int f = 0; private String g = null; private Packet1Login h = null; - private String i = ""; + private String i = Long.toHexString(d.nextLong()); public NetLoginHandler(MinecraftServer minecraftserver, Socket socket, String s) { this.server = minecraftserver; @@ -55,7 +55,7 @@ public class NetLoginHandler extends NetHandler { public void a(Packet2Handshake packet2handshake) { if (this.server.onlineMode) { - this.i = Long.toHexString(d.nextLong()); + // this.i = Long.toHexString(d.nextLong()); // CraftBukkit this.networkManager.queue(new Packet2Handshake(this.i)); } else { this.networkManager.queue(new Packet2Handshake("-")); |