mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
commit
b33706d427
@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user