mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed missing returns for Player->switchLevel()
This commit is contained in:
parent
21a1e0eb6b
commit
56e45a031b
@ -769,7 +769,11 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
|
||||
$this->usedChunks = [];
|
||||
$this->level->sendTime($this);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private function unloadChunk(int $x, int $z, Level $level = null){
|
||||
|
Loading…
x
Reference in New Issue
Block a user