Update CraftBukkit to 1.6.2
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user