From 9173f930ca0c4ff6570ac10f8f0eb6876e42265e Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 24 Jan 2015 10:35:08 +0100 Subject: [PATCH] Fixed #2541 server not saving chunks on chunk unloading --- src/pocketmine/level/Level.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/level/Level.php b/src/pocketmine/level/Level.php index bcf36c745..3fd45f8d4 100644 --- a/src/pocketmine/level/Level.php +++ b/src/pocketmine/level/Level.php @@ -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); }