mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +01:00
Don't toString disconnect message in console.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
d1875d1941
commit
d15cfa4c49
@ -534,6 +534,7 @@
|
||||
public void a(PacketPlayInResourcePackStatus packetplayinresourcepackstatus) {}
|
||||
|
||||
public void a(IChatBaseComponent ichatbasecomponent) {
|
||||
- PlayerConnection.c.info(this.player.getName() + " lost connection: " + ichatbasecomponent);
|
||||
+ // CraftBukkit start - Rarely it would send a disconnect line twice
|
||||
+ if (this.processedDisconnect) {
|
||||
+ return;
|
||||
@ -541,7 +542,7 @@
|
||||
+ this.processedDisconnect = true;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
PlayerConnection.c.info(this.player.getName() + " lost connection: " + ichatbasecomponent);
|
||||
+ PlayerConnection.c.info(this.player.getName() + " lost connection: " + ichatbasecomponent.c()); // CraftBukkit: Don't toString(). // PAIL: Rename
|
||||
+ // CraftBukkit start - Replace vanilla quit message handling with our own.
|
||||
+ /*
|
||||
this.minecraftServer.aH();
|
||||
|
Loading…
Reference in New Issue
Block a user