Made robit look up on chargepad?

This commit is contained in:
pixlepix 2013-11-21 19:27:39 -05:00
parent 1e2603d5fb
commit 72909b7657

View file

@ -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))