Merge pull request #451 from pixlepix/master

Made robit look up on chargepad
This commit is contained in:
Aidan 2013-11-21 16:36:33 -08:00
commit c9ea74b013

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