mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Protocol 25
This commit is contained in:
@ -84,7 +84,7 @@ class ChunkRequestTask extends AsyncTask{
|
||||
|
||||
$biomeColors = pack("N*", ...$chunk->getBiomeColorArray());
|
||||
|
||||
$ordered = $orderedIds . $orderedData . $orderedSkyLight . $orderedLight . $chunk->getBiomeIdArray() . $biomeColors . $this->tiles;
|
||||
$ordered = $orderedIds . $orderedData . $orderedSkyLight . $orderedLight . $biomeColors . $this->tiles;
|
||||
|
||||
$this->setResult($ordered, false);
|
||||
}
|
||||
|
@ -152,7 +152,6 @@ class LevelDB extends BaseLevelProvider{
|
||||
$chunk->getBlockDataArray() .
|
||||
$chunk->getBlockSkyLightArray() .
|
||||
$chunk->getBlockLightArray() .
|
||||
$chunk->getBiomeIdArray() .
|
||||
$biomeColors .
|
||||
$tiles;
|
||||
|
||||
|
@ -31,6 +31,7 @@ use pocketmine\nbt\tag\Compound;
|
||||
use pocketmine\nbt\tag\Int;
|
||||
use pocketmine\nbt\tag\Long;
|
||||
use pocketmine\nbt\tag\String;
|
||||
use pocketmine\network\protocol\FullChunkDataPacket;
|
||||
use pocketmine\tile\Spawnable;
|
||||
use pocketmine\utils\Binary;
|
||||
use pocketmine\utils\ChunkException;
|
||||
@ -133,7 +134,6 @@ class McRegion extends BaseLevelProvider{
|
||||
$chunk->getBlockDataArray() .
|
||||
$chunk->getBlockSkyLightArray() .
|
||||
$chunk->getBlockLightArray() .
|
||||
$chunk->getBiomeIdArray() .
|
||||
$biomeColors .
|
||||
$tiles;
|
||||
|
||||
|
Reference in New Issue
Block a user