From a2975746562b75e7ad08d1bdc7a50062020753a1 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Tue, 28 Jan 2014 21:46:29 +0100 Subject: [PATCH] Level::unloadChunk() now uses the saveEnabled property --- src/world/Level.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Level.php b/src/world/Level.php index 5812c0f2c..01eb899cf 100644 --- a/src/world/Level.php +++ b/src/world/Level.php @@ -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){