Made robit look up on chargepad?
This commit is contained in:
parent
1e2603d5fb
commit
72909b7657
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ public class RobitAIFollow extends EntityAIBase
|
|||
}
|
||||
else if(!theRobit.getFollowing())
|
||||
{
|
||||
//Still looks up at the player if on chargepad or not following
|
||||
|
||||
theRobit.getLookHelper().setLookPositionWithEntity(player, 6.0F, theRobit.getVerticalFaceSpeed()/10);
|
||||
return false;
|
||||
}
|
||||
else if(theRobit.getDistanceSqToEntity(player) < (minDist * minDist))
|
||||
|
|
Loading…
Reference in a new issue