Spawnable: change visibility of addAdditionalSpawnData()

This commit is contained in:
Dylan K. Taylor
2018-06-03 19:58:48 +01:00
parent 4c1d29cdf7
commit fe21f0e916
10 changed files with 10 additions and 10 deletions

View File

@ -192,7 +192,7 @@ class Chest extends Spawnable implements InventoryHolder, Container, Nameable{
return true;
}
public function addAdditionalSpawnData(CompoundTag $nbt) : void{
protected function addAdditionalSpawnData(CompoundTag $nbt) : void{
if($this->isPaired()){
$nbt->setInt(self::TAG_PAIRX, $this->pairX);
$nbt->setInt(self::TAG_PAIRZ, $this->pairZ);