Update CraftBukkit to 1.6.2

This commit is contained in:
mbax
2013-07-08 19:43:37 -04:00
parent 2d9a9d8cea
commit f6a0b1e426
87 changed files with 1162 additions and 1112 deletions

View File

@@ -1347,10 +1347,10 @@ public abstract class World implements IBlockAccess {
entity.lastYaw = entity.yaw;
entity.lastPitch = entity.pitch;
if (flag && entity.ai) {
++entity.ticksLived;
if (entity.vehicle != null) {
entity.T();
entity.U();
} else {
++entity.ticksLived;
entity.l_();
}
}
@@ -1549,7 +1549,7 @@ public abstract class World implements IBlockAccess {
}
}
if (vec3d.b() > 0.0D && entity.av()) {
if (vec3d.b() > 0.0D && entity.aw()) {
vec3d = vec3d.a();
double d1 = 0.014D;
@@ -2339,7 +2339,7 @@ public abstract class World implements IBlockAccess {
// CraftBukkit start - Split out persistent check, don't apply it to special persistent mobs
if (entity instanceof EntityInsentient) {
EntityInsentient entityinsentient = (EntityInsentient) entity;
if (entityinsentient.isTypeNotPersistent() && entityinsentient.bA()) { // Should be isPersistent
if (entityinsentient.isTypeNotPersistent() && entityinsentient.isPersistent()) {
continue;
}
}
@@ -2565,7 +2565,7 @@ public abstract class World implements IBlockAccess {
}
if (entityhuman1.isInvisible()) {
float f = entityhuman1.bs();
float f = entityhuman1.bw();
if (f < 0.1F) {
f = 0.1F;