summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/PathfinderGoalHurtByTarget.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/PathfinderGoalHurtByTarget.java')
-rw-r--r--src/main/java/net/minecraft/server/PathfinderGoalHurtByTarget.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/PathfinderGoalHurtByTarget.java b/src/main/java/net/minecraft/server/PathfinderGoalHurtByTarget.java
index 2a0404ee..4f476e6f 100644
--- a/src/main/java/net/minecraft/server/PathfinderGoalHurtByTarget.java
+++ b/src/main/java/net/minecraft/server/PathfinderGoalHurtByTarget.java
@@ -15,14 +15,14 @@ public class PathfinderGoalHurtByTarget extends PathfinderGoalTarget {
}
public boolean a() {
- int i = this.c.aJ();
+ int i = this.c.aK();
return i != this.b && this.a(this.c.getLastDamager(), false);
}
public void c() {
this.c.setGoalTarget(this.c.getLastDamager());
- this.b = this.c.aJ();
+ this.b = this.c.aK();
if (this.a) {
double d0 = this.f();
List list = this.c.world.a(this.c.getClass(), AxisAlignedBB.a(this.c.locX, this.c.locY, this.c.locZ, this.c.locX + 1.0D, this.c.locY + 1.0D, this.c.locZ + 1.0D).grow(d0, 10.0D, d0));