mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
making tile spawn compound cache use CacheableNbt instead of strings
This commit is contained in:
@ -90,7 +90,7 @@ final class ChunkSerializer{
|
||||
$stream = new BinaryStream();
|
||||
foreach($chunk->getTiles() as $tile){
|
||||
if($tile instanceof Spawnable){
|
||||
$stream->put($tile->getSerializedSpawnCompound());
|
||||
$stream->put($tile->getSerializedSpawnCompound()->getEncodedNbt());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user