From 8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Tue, 27 Dec 2011 19:57:54 -0500 Subject: [PATCH] Disconnected means disconnected. --- src/main/java/net/minecraft/server/NetServerHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 7c0b705594..16ec9ee63a 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"); }