diff options
author | md_5 <git@md-5.net> | 2016-06-30 13:01:37 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-06-30 13:01:37 +1000 |
commit | 4c43856621d8a004b255e2eb94e8288a0ffaf39a (patch) | |
tree | f3f16a7e7aa8573dd621876ce355c9151194b9ae /src/main/java/org | |
parent | 287ef78890f06e95513c95793d401086f0484cc5 (diff) | |
download | craftbukkit-4c43856621d8a004b255e2eb94e8288a0ffaf39a.tar craftbukkit-4c43856621d8a004b255e2eb94e8288a0ffaf39a.tar.gz craftbukkit-4c43856621d8a004b255e2eb94e8288a0ffaf39a.tar.lz craftbukkit-4c43856621d8a004b255e2eb94e8288a0ffaf39a.tar.xz craftbukkit-4c43856621d8a004b255e2eb94e8288a0ffaf39a.zip |
SPIGOT-1599: Allow teleporting disconnected players
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index b89f9170..b93ff63c 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; } |