@@ -28,9 +28,9 @@
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
@Override
|
||||
public boolean bt() {
|
||||
return !this.isMarker() && super.bt();
|
||||
@@ -386,6 +402,21 @@
|
||||
public void updateSize() {
|
||||
double d0 = this.locX();
|
||||
@@ -381,6 +397,21 @@
|
||||
return false;
|
||||
} else {
|
||||
ItemStack itemstack2;
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
if (entityhuman.abilities.canInstantlyBuild && itemstack1.isEmpty() && !itemstack.isEmpty()) {
|
||||
itemstack2 = itemstack.cloneItemStack();
|
||||
@@ -414,12 +445,22 @@
|
||||
@@ -409,12 +440,22 @@
|
||||
public boolean damageEntity(DamageSource damagesource, float f) {
|
||||
if (!this.world.isClientSide && !this.dead) {
|
||||
if (DamageSource.OUT_OF_WORLD.equals(damagesource)) {
|
||||
@@ -78,7 +78,7 @@
|
||||
return false;
|
||||
} else if (DamageSource.FIRE.equals(damagesource)) {
|
||||
if (this.isBurning()) {
|
||||
@@ -444,7 +485,7 @@
|
||||
@@ -439,7 +480,7 @@
|
||||
} else if (damagesource.v()) {
|
||||
this.F();
|
||||
this.D();
|
||||
@@ -87,7 +87,7 @@
|
||||
return flag1;
|
||||
} else {
|
||||
long i = this.world.getTime();
|
||||
@@ -455,7 +496,7 @@
|
||||
@@ -450,7 +491,7 @@
|
||||
} else {
|
||||
this.f(damagesource);
|
||||
this.D();
|
||||
@@ -96,7 +96,7 @@
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -482,7 +523,7 @@
|
||||
@@ -477,7 +518,7 @@
|
||||
f1 -= f;
|
||||
if (f1 <= 0.5F) {
|
||||
this.g(damagesource);
|
||||
@@ -105,7 +105,7 @@
|
||||
} else {
|
||||
this.setHealth(f1);
|
||||
}
|
||||
@@ -490,13 +531,13 @@
|
||||
@@ -485,13 +526,13 @@
|
||||
}
|
||||
|
||||
private void f(DamageSource damagesource) {
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
ItemStack itemstack;
|
||||
int i;
|
||||
@@ -504,7 +545,7 @@
|
||||
@@ -499,7 +540,7 @@
|
||||
for (i = 0; i < this.handItems.size(); ++i) {
|
||||
itemstack = (ItemStack) this.handItems.get(i);
|
||||
if (!itemstack.isEmpty()) {
|
||||
@@ -130,7 +130,7 @@
|
||||
this.handItems.set(i, ItemStack.a);
|
||||
}
|
||||
}
|
||||
@@ -512,10 +553,11 @@
|
||||
@@ -507,10 +548,11 @@
|
||||
for (i = 0; i < this.armorItems.size(); ++i) {
|
||||
itemstack = (ItemStack) this.armorItems.get(i);
|
||||
if (!itemstack.isEmpty()) {
|
||||
@@ -143,7 +143,7 @@
|
||||
|
||||
}
|
||||
|
||||
@@ -616,8 +658,16 @@
|
||||
@@ -611,8 +653,16 @@
|
||||
return this.isSmall();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user