Updated PocketMine-NBT dependency

This commit is contained in:
Dylan K. Taylor
2018-02-17 14:29:20 +00:00
parent 3f41628bf3
commit 093cb5b39e
10 changed files with 46 additions and 62 deletions

View File

@ -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;