SPIGOT-1599: Allow teleporting disconnected players

This commit is contained in:
md_5 2016-06-30 13:01:37 +10:00
parent 287ef78890
commit 4c43856621

View file

@ -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;
}