mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Fixed missing returns for Player->switchLevel()
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user