mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
Disconnected means disconnected.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user