diff options
author | Thinkofdeath <thinkofdeath@spigotmc.org> | 2015-05-20 16:15:22 +0100 |
---|---|---|
committer | Thinkofdeath <thinkofdeath@spigotmc.org> | 2015-05-20 16:15:22 +0100 |
commit | 5e914463bf129ddbefe278dd8926f3a0224aec37 (patch) | |
tree | 730e84dbc606325d6e412b5285929d3747a215b9 | |
parent | db5fd9c79ec48151092c649cd6e8ae90c08b1786 (diff) | |
download | craftbukkit-5e914463bf129ddbefe278dd8926f3a0224aec37.tar craftbukkit-5e914463bf129ddbefe278dd8926f3a0224aec37.tar.gz craftbukkit-5e914463bf129ddbefe278dd8926f3a0224aec37.tar.lz craftbukkit-5e914463bf129ddbefe278dd8926f3a0224aec37.tar.xz craftbukkit-5e914463bf129ddbefe278dd8926f3a0224aec37.zip |
Readd missed diff
-rw-r--r-- | nms-patches/PlayerConnection.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nms-patches/PlayerConnection.patch b/nms-patches/PlayerConnection.patch index 6da76021..9c3331cc 100644 --- a/nms-patches/PlayerConnection.patch +++ b/nms-patches/PlayerConnection.patch @@ -1,5 +1,5 @@ ---- /home/matt/mc-dev-private//net/minecraft/server/PlayerConnection.java 2015-05-05 21:53:39.701102844 +0100 -+++ src/main/java/net/minecraft/server/PlayerConnection.java 2015-05-05 21:53:39.701102844 +0100 +--- /home/matt/mc-dev-private//net/minecraft/server/PlayerConnection.java 2015-05-20 16:15:15.756362905 +0100 ++++ src/main/java/net/minecraft/server/PlayerConnection.java 2015-05-20 16:15:15.760362840 +0100 @@ -17,6 +17,48 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -538,6 +538,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; @@ -545,7 +546,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 the component + // CraftBukkit start - Replace vanilla quit message handling with our own. + /* this.minecraftServer.aH(); |