BlockTranslator: use less ambiguous function names

This commit is contained in:
Dylan K. Taylor
2023-05-05 14:47:23 +01:00
parent 4f32f5e0b7
commit 289ede669d
15 changed files with 19 additions and 19 deletions

View File

@ -95,7 +95,7 @@ class FlowerPot extends Spawnable{
protected function addAdditionalSpawnData(CompoundTag $nbt) : void{
if($this->plant !== null){
$nbt->setTag(self::TAG_PLANT_BLOCK, TypeConverter::getInstance()->getBlockTranslator()->toStateData($this->plant->getStateId())->toNbt());
$nbt->setTag(self::TAG_PLANT_BLOCK, TypeConverter::getInstance()->getBlockTranslator()->internalIdToNetworkStateData($this->plant->getStateId())->toNbt());
}
}