Fixed #2541 server not saving chunks on chunk unloading

This commit is contained in:
Shoghi Cervantes
2015-01-24 10:35:08 +01:00
parent 5bd76e955c
commit 9173f930ca

View File

@@ -2070,7 +2070,7 @@ class Level implements ChunkManager, Metadatable{
}
try{
if($chunk !== null and $chunk->hasChanged() and $this->getAutoSave()){
if($chunk !== null and $this->getAutoSave()){
$this->provider->setChunk($x, $z, $chunk);
$this->provider->saveChunk($x, $z);
}