diff options
author | EvilSeph <evilseph@gmail.com> | 2011-12-27 19:57:54 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-12-27 19:57:54 -0500 |
commit | 8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6 (patch) | |
tree | e600a95be7d0e63c341c9bed21b10dece443f9d8 /src | |
parent | 066a95769c3905308060641cd08a25b19748b45f (diff) | |
download | craftbukkit-8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6.tar craftbukkit-8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6.tar.gz craftbukkit-8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6.tar.lz craftbukkit-8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6.tar.xz craftbukkit-8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6.zip |
Disconnected means disconnected.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 7c0b7055..16ec9ee6 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -657,6 +657,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener { } public void a(Packet packet) { + if (this.disconnected) return; // CraftBukkit a.warning(this.getClass() + " wasn\'t prepared to deal with a " + packet.getClass()); this.disconnect("Protocol error, unexpected packet"); } |