From 8ebb465bf0b98899c6ff2f6f3a007b888e0318fa Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 18 Dec 2013 08:44:28 +1100 Subject: [PATCH] Revert processed disconnect change - the flag is not set as reliably as it was in previous server versions. --- ...essedDisconnect-flag-for-disconnects.patch | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 CraftBukkit-Patches/0077-Use-the-processedDisconnect-flag-for-disconnects.patch diff --git a/CraftBukkit-Patches/0077-Use-the-processedDisconnect-flag-for-disconnects.patch b/CraftBukkit-Patches/0077-Use-the-processedDisconnect-flag-for-disconnects.patch deleted file mode 100644 index 0d13eca20..000000000 --- a/CraftBukkit-Patches/0077-Use-the-processedDisconnect-flag-for-disconnects.patch +++ /dev/null @@ -1,22 +0,0 @@ -From b59a758752127758ddeb19bec29787fc84d0bcfe Mon Sep 17 00:00:00 2001 -From: md_5 -Date: Tue, 17 Dec 2013 18:24:34 +1100 -Subject: [PATCH] Use the processedDisconnect flag for disconnects. - - -diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java -index d7dbc54..498e5e6 100644 ---- a/src/main/java/net/minecraft/server/PlayerConnection.java -+++ b/src/main/java/net/minecraft/server/PlayerConnection.java -@@ -1823,7 +1823,7 @@ public class PlayerConnection implements PacketPlayInListener { - - // CraftBukkit start - Add "isDisconnected" method - public final boolean isDisconnected() { -- return !NetworkManager.a(this.networkManager).config().isAutoRead(); -+ return this.processedDisconnect; // Spigot - check if we have processed the disconnect, before telling if we really have disconnected. - } - // CraftBukkit end - } --- -1.8.3.2 -