diff --git a/src/slapper/entities/SlapperHuman.php b/src/slapper/entities/SlapperHuman.php index 6fca6e7..7d415c2 100644 --- a/src/slapper/entities/SlapperHuman.php +++ b/src/slapper/entities/SlapperHuman.php @@ -28,6 +28,7 @@ class SlapperHuman extends Human implements SlapperInterface{ protected string $menuName; public function initEntity(CompoundTag $nbt): void{ + parent::initEntity($nbt); $this->menuName = $nbt->getString('MenuName', ''); if(($commandsTag = $nbt->getTag('Commands')) instanceof ListTag or $commandsTag instanceof CompoundTag){ /** @var StringTag $stringTag */