From d515da896345fbfa4676550497198639296e4226 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 1 Dec 2013 21:37:33 +0100 Subject: [PATCH] Fixed Level::setMiniChunk() parameter bug --- src/world/Level.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/world/Level.php b/src/world/Level.php index 30756b231..58e35d4d4 100644 --- a/src/world/Level.php +++ b/src/world/Level.php @@ -351,7 +351,7 @@ class Level{ if(!isset($this->level)){ return false; } - return $this->level->getMiniChunk($X, $Y, $Z); + return $this->level->getMiniChunk($X, $Z, $Y); } public function setMiniChunk($X, $Y, $Z, $data){ @@ -359,7 +359,7 @@ class Level{ return false; } $this->changedCount[$X.":".$Y.":".$Z] = 4096; - return $this->level->setMiniChunk($X, $Y, $Z, $data); + return $this->level->setMiniChunk($X, $Z, $Y, $data); } public function loadChunk($X, $Z){