mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
SPIGOT-1599: Allow teleporting disconnected players
This commit is contained in:
1 parent
287ef78890
commit
4c43856621
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user