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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user