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

@ -120,7 +120,7 @@ class Sign extends Spawnable{
return $this->text;
}
public function addAdditionalSpawnData(CompoundTag $nbt) : void{
protected function addAdditionalSpawnData(CompoundTag $nbt) : void{
$nbt->setString(self::TAG_TEXT_BLOB, implode("\n", $this->text));
}