From 4c43856621d8a004b255e2eb94e8288a0ffaf39a Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 30 Jun 2016 13:01:37 +1000 Subject: [PATCH] SPIGOT-1599: Allow teleporting disconnected players --- src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index b89f91700b..b93ff63c32 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -442,7 +442,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { return false; } - if (entity.playerConnection == null || entity.playerConnection.isDisconnected()) { + if (entity.playerConnection == null) { return false; }