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

@@ -40,7 +40,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
return false;
} else {
if (this.f) {
if (this.d.aD().canSee(entityliving)) {
if (this.d.getEntitySenses().canSee(entityliving)) {
this.g = 0;
} else if (++this.g > 60) {
return false;
@@ -85,7 +85,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
if (!this.d.d(MathHelper.floor(entityliving.locX), MathHelper.floor(entityliving.locY), MathHelper.floor(entityliving.locZ))) {
return false;
} else if (this.f && !this.d.aD().canSee(entityliving)) {
} else if (this.f && !this.d.getEntitySenses().canSee(entityliving)) {
return false;
} else {
if (this.a) {