SPIGOT-1599: Allow teleporting disconnected players
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -442,7 +442,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entity.playerConnection == null || entity.playerConnection.isDisconnected()) {
|
if (entity.playerConnection == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user