Update CraftBukkit to Minecraft 1.7.2

This commit is contained in:
mbax
2013-11-04 07:07:38 -06:00
committed by Wesley Wolfe
parent ff8b70fbb7
commit 2726696652
349 changed files with 14339 additions and 11287 deletions

View File

@@ -1,6 +1,6 @@
package net.minecraft.server;
import org.apache.commons.lang3.StringUtils;
import net.minecraft.util.org.apache.commons.lang3.StringUtils;
// CraftBukkit start
import org.bukkit.craftbukkit.entity.CraftEntity;
@@ -47,7 +47,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
}
}
return true;
return !(entityliving instanceof EntityPlayer) || !((EntityPlayer) entityliving).playerInteractManager.isCreative();
}
}
}
@@ -144,7 +144,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
}
private boolean a(EntityLiving entityliving) {
this.e = 10 + this.c.aD().nextInt(5);
this.e = 10 + this.c.aI().nextInt(5);
PathEntity pathentity = this.c.getNavigation().a(entityliving);
if (pathentity == null) {