mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 23:59:53 +00:00
Level::unloadChunk() now uses the saveEnabled property
This commit is contained in:
parent
4bcea9b3e5
commit
a297574656
@ -379,7 +379,7 @@ class Level{
|
||||
if(!isset($this->level)){
|
||||
return false;
|
||||
}
|
||||
return $this->level->unloadChunk($X, $Z);
|
||||
return $this->level->unloadChunk($X, $Z, $this->server->saveEnabled);
|
||||
}
|
||||
|
||||
public function getOrderedChunk($X, $Z, $Yndex){
|
||||
|
Loading…
x
Reference in New Issue
Block a user