summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-06-30 13:01:37 +1000
committermd_5 <git@md-5.net>2016-06-30 13:01:37 +1000
commit4c43856621d8a004b255e2eb94e8288a0ffaf39a (patch)
treef3f16a7e7aa8573dd621876ce355c9151194b9ae /src/main/java/org
parent287ef78890f06e95513c95793d401086f0484cc5 (diff)
downloadcraftbukkit-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.java2
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;
}