mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 20:28:31 +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->usedChunks = [];
|
||||||
$this->level->sendTime($this);
|
$this->level->sendTime($this);
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function unloadChunk(int $x, int $z, Level $level = null){
|
private function unloadChunk(int $x, int $z, Level $level = null){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user