From 9d09e7d0167326d4169f734e4b6d04c54d767507 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Thu, 22 Mar 2012 20:39:39 +0000 Subject: Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1. --- src/main/java/net/minecraft/server/PathfinderGoalTarget.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/net/minecraft/server/PathfinderGoalTarget.java') diff --git a/src/main/java/net/minecraft/server/PathfinderGoalTarget.java b/src/main/java/net/minecraft/server/PathfinderGoalTarget.java index 327f235c..32d8dab7 100644 --- a/src/main/java/net/minecraft/server/PathfinderGoalTarget.java +++ b/src/main/java/net/minecraft/server/PathfinderGoalTarget.java @@ -27,7 +27,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal { } public boolean b() { - EntityLiving entityliving = this.c.as(); + EntityLiving entityliving = this.c.at(); if (entityliving == null) { return false; @@ -37,7 +37,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal { return false; } else { if (this.e) { - if (!this.c.al().canSee(entityliving)) { + if (!this.c.am().canSee(entityliving)) { if (++this.g > 60) { return false; } @@ -85,7 +85,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal { if (!this.c.e(MathHelper.floor(entityliving.locX), MathHelper.floor(entityliving.locY), MathHelper.floor(entityliving.locZ))) { return false; - } else if (this.e && !this.c.al().canSee(entityliving)) { + } else if (this.e && !this.c.am().canSee(entityliving)) { return false; } else { if (this.a) { @@ -136,8 +136,8 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal { } private boolean a(EntityLiving entityliving) { - this.f = 10 + this.c.am().nextInt(5); - PathEntity pathentity = this.c.ak().a(entityliving); + this.f = 10 + this.c.an().nextInt(5); + PathEntity pathentity = this.c.al().a(entityliving); if (pathentity == null) { return false; -- cgit v1.2.3