Update CraftBukkit to Minecraft 1.5.2
This commit is contained in:
@@ -76,7 +76,6 @@ public class EntityWolf extends EntityTameableAnimal {
|
||||
}
|
||||
|
||||
protected boolean isTypeNotPersistent() {
|
||||
// CraftBukkit - added && !this.isTamed()
|
||||
return this.isAngry() && !this.isTamed();
|
||||
}
|
||||
|
||||
@@ -114,13 +113,13 @@ public class EntityWolf extends EntityTameableAnimal {
|
||||
public void l_() {
|
||||
super.l_();
|
||||
this.f = this.e;
|
||||
if (this.bW()) {
|
||||
if (this.bY()) {
|
||||
this.e += (1.0F - this.e) * 0.4F;
|
||||
} else {
|
||||
this.e += (0.0F - this.e) * 0.4F;
|
||||
}
|
||||
|
||||
if (this.bW()) {
|
||||
if (this.bY()) {
|
||||
this.bJ = 10;
|
||||
}
|
||||
|
||||
@@ -329,7 +328,7 @@ public class EntityWolf extends EntityTameableAnimal {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean bW() {
|
||||
public boolean bY() {
|
||||
return this.datawatcher.getByte(19) == 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user