Updated to use mc-dev rename revision 1

This commit is contained in:
Nathan Adams committed 2011-11-30 21:46:19 +00:00
1 parent 8665161eaa
commit 8fbe78a2c3
117 files changed
+907 -1161

No files matched your search

@@ -50,7 +50,7 @@ public abstract class EntityCreature extends EntityLiving {
if (this.target != null) {
this.pathEntity = this.world.findPath(this, this.target, f);
}
} else if (!this.target.aj()) {
} else if (!this.target.isAlive()) {
// CraftBukkit start
EntityTargetEvent event = new EntityTargetEvent(this.getBukkitEntity(), null, EntityTargetEvent.TargetReason.TARGET_DIED);
this.world.getServer().getPluginManager().callEvent(event);
@@ -88,7 +88,7 @@ public abstract class EntityCreature extends EntityLiving {
if (this.pathEntity != null && this.random.nextInt(100) != 0) {
// MethodProfiler.a("followpath"); // CraftBukkit -- not in production code
Vec3D vec3d = this.pathEntity.a(this);
double d0 = (double) (this.length * 2.0F);
double d0 = (double) (this.width * 2.0F);
while (vec3d != null && vec3d.d(this.locX, vec3d.b, this.locZ) < d0 * d0) {
this.pathEntity.a();