diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/PlayerConnection.java')
-rw-r--r-- | src/main/java/net/minecraft/server/PlayerConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java index 10c2ee72..ca6b33c9 100644 --- a/src/main/java/net/minecraft/server/PlayerConnection.java +++ b/src/main/java/net/minecraft/server/PlayerConnection.java @@ -1850,7 +1850,7 @@ public class PlayerConnection implements PacketPlayInListener { // CraftBukkit start - Add "isDisconnected" method public final boolean isDisconnected() { - return !NetworkManager.a(this.networkManager).config().isAutoRead(); + return !this.player.joining && !NetworkManager.a(this.networkManager).config().isAutoRead(); } // CraftBukkit end } |