From 981c87732c3b075e74b6fafee0f2572bb98c5572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Siobhan=20=F0=9F=8F=B3=EF=B8=8F=E2=80=8D=E2=9A=A7=EF=B8=8F?= <33694155+siobhan-saoirse@users.noreply.github.com> Date: Thu, 5 Mar 2026 02:22:31 -0500 Subject: [PATCH] Restore the original follow range for Zombies and Withers (#510) * Restore original follow range for Zombie * Restore original WitherBoss follow range --- Minecraft.World/WitherBoss.cpp | 4 ++-- Minecraft.World/Zombie.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Minecraft.World/WitherBoss.cpp b/Minecraft.World/WitherBoss.cpp index 676f07d9..84cf1382 100644 --- a/Minecraft.World/WitherBoss.cpp +++ b/Minecraft.World/WitherBoss.cpp @@ -535,7 +535,7 @@ void WitherBoss::registerAttributes() getAttribute(SharedMonsterAttributes::MOVEMENT_SPEED)->setBaseValue(0.6f); // 4J Stu - Don't make it so far! - //getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40); + getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40); } float WitherBoss::getHeadYRot(int i) @@ -581,4 +581,4 @@ MobType WitherBoss::getMobType() void WitherBoss::ride(shared_ptr e) { riding = nullptr; -} \ No newline at end of file +} diff --git a/Minecraft.World/Zombie.cpp b/Minecraft.World/Zombie.cpp index df9d5c6b..7cdc3180 100644 --- a/Minecraft.World/Zombie.cpp +++ b/Minecraft.World/Zombie.cpp @@ -56,7 +56,7 @@ void Zombie::registerAttributes() Monster::registerAttributes(); // 4J Stu - Don't make it so far! - //getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40); + getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40); getAttribute(SharedMonsterAttributes::MOVEMENT_SPEED)->setBaseValue(0.23f); getAttribute(SharedMonsterAttributes::ATTACK_DAMAGE)->setBaseValue(3); @@ -490,4 +490,4 @@ Zombie::ZombieGroupData::ZombieGroupData(bool baby, bool villager) { isBaby = baby; isVillager = villager; -} \ No newline at end of file +}