diff --git a/src/pocketmine/level/format/leveldb/Chunk.php b/src/pocketmine/level/format/leveldb/Chunk.php index dafe439c8..cccff1335 100644 --- a/src/pocketmine/level/format/leveldb/Chunk.php +++ b/src/pocketmine/level/format/leveldb/Chunk.php @@ -323,7 +323,7 @@ class Chunk extends BaseFullChunk{ } - $heighmap = pack("C*", ...$this->getHeightMapArray()); + $heightmap = pack("C*", ...$this->getHeightMapArray()); $biomeColors = pack("N*", ...$this->getBiomeColorArray()); return $chunkIndex . @@ -331,9 +331,9 @@ class Chunk extends BaseFullChunk{ $this->getBlockDataArray() . $this->getBlockSkyLightArray() . $this->getBlockLightArray() . - $heighmap . + $heightmap . $biomeColors . chr( ($this->isPopulated() ? 0x02 : 0) | ($this->isGenerated() ? 0x01 : 0) ); } -} \ No newline at end of file +}