Level::unloadChunk() now uses the saveEnabled property

This commit is contained in:
Shoghi Cervantes 2014-01-28 21:46:29 +01:00
parent 4bcea9b3e5
commit a297574656

View File

@ -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){