3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 05:20:07 +01:00

Attempt to fix double disconnects

Dieser Commit ist enthalten in:
Dinnerbone 2011-03-10 00:16:16 +00:00
Ursprung 131a2c769b
Commit 54a05f3ce2

Datei anzeigen

@ -545,9 +545,11 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
} }
public void a(String s, Object[] aobject) { public void a(String s, Object[] aobject) {
a.info(this.e.name + " lost connection: " + s); if (!this.c) {
this.d.f.a((Packet) (new Packet3Chat("\u00A7e" + this.e.name + " left the game."))); a.info(this.e.name + " lost connection: " + s);
this.d.f.c(this.e); this.d.f.a((Packet) (new Packet3Chat("\u00A7e" + this.e.name + " left the game.")));
this.d.f.c(this.e);
}
this.c = true; this.c = true;
} }