Fix persistence on tamed pets. Fixes BUKKIT-3300
With the persistence api introduced, pets did not have their persistence flag updated to reflect their persistence. This caused tame ocelots to not persist under specific conditions.
This commit is contained in:
@@ -76,7 +76,8 @@ public class EntityWolf extends EntityTameableAnimal {
|
||||
}
|
||||
|
||||
protected boolean bj() {
|
||||
return this.isAngry();
|
||||
// CraftBukkit - added && !this.isTamed()
|
||||
return this.isAngry() && !this.isTamed();
|
||||
}
|
||||
|
||||
protected String aY() {
|
||||
|
||||
Reference in New Issue
Block a user