mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Updated PocketMine-NBT dependency
This commit is contained in:
@ -95,8 +95,7 @@ abstract class Spawnable extends Tile{
|
||||
self::$nbtWriter = new NetworkLittleEndianNBTStream();
|
||||
}
|
||||
|
||||
self::$nbtWriter->setData($this->getSpawnCompound());
|
||||
$this->spawnCompoundCache = self::$nbtWriter->write();
|
||||
$this->spawnCompoundCache = self::$nbtWriter->write($this->getSpawnCompound());
|
||||
}
|
||||
|
||||
return $this->spawnCompoundCache;
|
||||
|
Reference in New Issue
Block a user