Tile: remove unnecessary createAdditionalNBT() things

these things are filled in by the tiles' constructors anyway.
This commit is contained in:
Dylan K. Taylor
2018-04-13 11:50:04 +01:00
parent 556a465c05
commit e565cdeea4
3 changed files with 0 additions and 19 deletions

View File

@ -171,13 +171,8 @@ class Sign extends Spawnable{
}
protected static function createAdditionalNBT(CompoundTag $nbt, Vector3 $pos, ?int $face = null, ?Item $item = null, ?Player $player = null) : void{
for($i = 1; $i <= 4; ++$i){
$nbt->setString(sprintf(self::TAG_TEXT_LINE, $i), "");
}
if($player !== null){
$nbt->setString(self::TAG_CREATOR, $player->getRawUniqueId());
}
}
}