Restore the original follow range for Zombies and Withers (#510)

* Restore original follow range for Zombie

* Restore original WitherBoss follow range
This commit is contained in:
Siobhan 🏳️‍⚧️
2026-03-05 02:22:31 -05:00
committed by GitHub
parent 87e3bd193c
commit 981c87732c
2 changed files with 4 additions and 4 deletions

View File

@@ -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<Entity> e)
{
riding = nullptr;
}
}