Disconnected means disconnected.

This commit is contained in:
EvilSeph 2011-12-27 19:57:54 -05:00
parent 066a95769c
commit 8b21a0eeef

View File

@ -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");
}