summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/PathfinderGoalArrowAttack.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/PathfinderGoalArrowAttack.java')
-rw-r--r--src/main/java/net/minecraft/server/PathfinderGoalArrowAttack.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/PathfinderGoalArrowAttack.java b/src/main/java/net/minecraft/server/PathfinderGoalArrowAttack.java
index bf496af8..fe9132d7 100644
--- a/src/main/java/net/minecraft/server/PathfinderGoalArrowAttack.java
+++ b/src/main/java/net/minecraft/server/PathfinderGoalArrowAttack.java
@@ -28,7 +28,7 @@ public class PathfinderGoalArrowAttack extends PathfinderGoal {
}
public boolean a() {
- EntityLiving entityliving = this.a.aG();
+ EntityLiving entityliving = this.a.getGoalTarget();
if (entityliving == null) {
return false;