diff --git a/src/pocketmine/level/format/generic/BaseChunk.php b/src/pocketmine/level/format/generic/BaseChunk.php index 01cdb0210..cf4021280 100644 --- a/src/pocketmine/level/format/generic/BaseChunk.php +++ b/src/pocketmine/level/format/generic/BaseChunk.php @@ -206,7 +206,7 @@ abstract class BaseChunk implements Chunk{ } public function setBiomeColor($x, $z, $R, $G, $B){ - $this->biomeColors = 0xFF000000 | (($R & 0xFF) << 16) | (($G & 0xFF) << 8) | ($B & 0xFF); + $this->biomeColors[($z << 4) + $x] = 0xFF000000 | (($R & 0xFF) << 16) | (($G & 0xFF) << 8) | ($B & 0xFF); } public function getHighestBlockAt($x, $z){