mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
Disconnected means disconnected.
This commit is contained in:
parent
066a95769c
commit
8b21a0eeef
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue