Update CraftBukkit to Minecraft 1.5.2

This commit is contained in:
Travis Watkins
2013-04-27 04:40:05 -05:00
parent 83c3aa188b
commit 799779e4b1
53 changed files with 317 additions and 268 deletions

View File

@@ -65,7 +65,7 @@ public class PathfinderGoalMeleeAttack extends PathfinderGoal {
public void e() {
this.b.getControllerLook().a(this.c, 30.0F, 30.0F);
if ((this.f || this.b.aD().canSee(this.c)) && --this.i <= 0) {
if ((this.f || this.b.getEntitySenses().canSee(this.c)) && --this.i <= 0) {
this.i = 4 + this.b.aE().nextInt(7);
this.b.getNavigation().a(this.c, this.e);
}