@@ -35,20 +35,19 @@
|
||||
public void setGoalTarget(@Nullable EntityLiving entityliving) {
|
||||
super.setGoalTarget(entityliving);
|
||||
if (entityliving == null) {
|
||||
@@ -200,9 +221,10 @@
|
||||
@@ -200,9 +221,9 @@
|
||||
Entity entity = damagesource.getEntity();
|
||||
|
||||
if (this.goalSit != null) {
|
||||
- this.goalSit.setSitting(false);
|
||||
+ // CraftBukkit - moved into EntityLiving.d(DamageSource, float)
|
||||
+ // PAIL : checkme
|
||||
+ // this.goalSit.setSitting(false);
|
||||
}
|
||||
-
|
||||
if (entity != null && !(entity instanceof EntityHuman) && !(entity instanceof EntityArrow)) {
|
||||
f = (f + 1.0F) / 2.0F;
|
||||
}
|
||||
@@ -245,7 +267,7 @@
|
||||
@@ -245,7 +266,7 @@
|
||||
itemstack.subtract(1);
|
||||
}
|
||||
|
||||
@@ -57,7 +56,7 @@
|
||||
return true;
|
||||
}
|
||||
} else if (itemstack.getItem() == Items.DYE) {
|
||||
@@ -266,7 +288,7 @@
|
||||
@@ -266,7 +287,7 @@
|
||||
this.goalSit.setSitting(!this.isSitting());
|
||||
this.bd = false;
|
||||
this.navigation.p();
|
||||
@@ -66,7 +65,7 @@
|
||||
}
|
||||
} else if (itemstack.getItem() == Items.BONE && !this.isAngry()) {
|
||||
if (!entityhuman.abilities.canInstantlyBuild) {
|
||||
@@ -274,12 +296,13 @@
|
||||
@@ -274,12 +295,13 @@
|
||||
}
|
||||
|
||||
if (!this.world.isClientSide) {
|
||||
|
||||
Reference in New Issue
Block a user