mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-1599: Allow teleporting disconnected players
By: md_5 <git@md-5.net>
This commit is contained in:
parent
8af31adf18
commit
a44a8f29d0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue