mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +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());
|
$biomeColors = pack("N*", ...$this->getBiomeColorArray());
|
||||||
|
|
||||||
return $chunkIndex .
|
return $chunkIndex .
|
||||||
@ -331,7 +331,7 @@ class Chunk extends BaseFullChunk{
|
|||||||
$this->getBlockDataArray() .
|
$this->getBlockDataArray() .
|
||||||
$this->getBlockSkyLightArray() .
|
$this->getBlockSkyLightArray() .
|
||||||
$this->getBlockLightArray() .
|
$this->getBlockLightArray() .
|
||||||
$heighmap .
|
$heightmap .
|
||||||
$biomeColors . chr(
|
$biomeColors . chr(
|
||||||
($this->isPopulated() ? 0x02 : 0) | ($this->isGenerated() ? 0x01 : 0)
|
($this->isPopulated() ? 0x02 : 0) | ($this->isGenerated() ? 0x01 : 0)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user