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

@ -43,7 +43,7 @@ class EntityLandSound implements Sound{
return [LevelSoundEventPacket::create(
LevelSoundEvent::LAND,
$pos,
TypeConverter::getInstance()->getBlockTranslator()->toRuntimeId($this->blockLandedOn->getStateId()),
TypeConverter::getInstance()->getBlockTranslator()->internalIdToNetworkId($this->blockLandedOn->getStateId()),
$this->entity::getNetworkTypeId(),
false, //TODO: does isBaby have any relevance here?
false