From 76e2aaf1eec48c7186fdd698b4e8bc92006fbd10 Mon Sep 17 00:00:00 2001 From: cosmicnebula200 <63548890+cosmicnebula200@users.noreply.github.com> Date: Wed, 2 Feb 2022 13:27:23 +0530 Subject: [PATCH] Update SlapperHuman.php --- src/slapper/entities/SlapperHuman.php | 1 + 1 file changed, 1 insertion(+) 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 */