From b14dfe07f71e542c958eac68b2b02f13b273d1ba Mon Sep 17 00:00:00 2001 From: GabsPuNs Date: Thu, 28 May 2026 22:24:17 -0400 Subject: [PATCH] I forgot to enable this again This was disabled for try to find the FPS Issue --- Minecraft.World/Zombie.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Minecraft.World/Zombie.cpp b/Minecraft.World/Zombie.cpp index a21d02e0..2f26c102 100644 --- a/Minecraft.World/Zombie.cpp +++ b/Minecraft.World/Zombie.cpp @@ -153,7 +153,6 @@ bool Zombie::hurt(DamageSource *source, float dmg) { if (Monster::hurt(source, dmg)) { -/* shared_ptr target = getTarget(); if ( (target == nullptr) && getAttackTarget() != nullptr && getAttackTarget()->instanceof(eTYPE_LIVINGENTITY) ) target = dynamic_pointer_cast( getAttackTarget() ); if ( (target == nullptr) && source->getEntity() != nullptr && source->getEntity()->instanceof(eTYPE_LIVINGENTITY) ) target = dynamic_pointer_cast( source->getEntity() ); @@ -188,7 +187,7 @@ bool Zombie::hurt(DamageSource *source, float dmg) } } } -*/ + return true; }