Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Disconnected means disconnected.
Dieser Commit ist enthalten in:
Ursprung
066a95769c
Commit
8b21a0eeef
@ -657,6 +657,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void a(Packet packet) {
|
public void a(Packet packet) {
|
||||||
|
if (this.disconnected) return; // CraftBukkit
|
||||||
a.warning(this.getClass() + " wasn\'t prepared to deal with a " + packet.getClass());
|
a.warning(this.getClass() + " wasn\'t prepared to deal with a " + packet.getClass());
|
||||||
this.disconnect("Protocol error, unexpected packet");
|
this.disconnect("Protocol error, unexpected packet");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren