From dbb5e6e3cd35ca82efb39a44fcf6542733d2bc00 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Thu, 26 Jun 2014 13:05:08 -0500 Subject: Update CraftBukkit to Minecraft 1.7.10 --- src/main/java/net/minecraft/server/EntityCreature.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/net/minecraft/server/EntityCreature.java') diff --git a/src/main/java/net/minecraft/server/EntityCreature.java b/src/main/java/net/minecraft/server/EntityCreature.java index ef10d164..6960b058 100644 --- a/src/main/java/net/minecraft/server/EntityCreature.java +++ b/src/main/java/net/minecraft/server/EntityCreature.java @@ -29,7 +29,7 @@ public abstract class EntityCreature extends EntityInsentient { return false; } - protected void bp() { + protected void bq() { this.world.methodProfiler.a("ai"); if (this.bo > 0 && --this.bo == 0) { AttributeInstance attributeinstance = this.getAttributeInstance(GenericAttributes.d); @@ -63,7 +63,7 @@ public abstract class EntityCreature extends EntityInsentient { } else if (this.target.isAlive()) { float f1 = this.target.e((Entity) this); - if (this.p(this.target)) { + if (this.hasLineOfSight(this.target)) { this.a(this.target, f1); } } else { @@ -93,8 +93,8 @@ public abstract class EntityCreature extends EntityInsentient { } int i = MathHelper.floor(this.boundingBox.b + 0.5D); - boolean flag = this.L(); - boolean flag1 = this.O(); + boolean flag = this.M(); + boolean flag1 = this.P(); this.pitch = 0.0F; if (this.pathEntity != null && this.random.nextInt(100) != 0) { @@ -161,7 +161,7 @@ public abstract class EntityCreature extends EntityInsentient { this.world.methodProfiler.b(); } else { - super.bp(); + super.bq(); this.pathEntity = null; } } -- cgit v1.2.3