Revert to 1.5 despawning behaviour for Ocelots and Wolves. Fixes BUKKIT-4449

This commit is contained in:
EvilSeph
2013-08-01 21:56:29 -04:00
parent a466e0aa6c
commit 720a8d706a
3 changed files with 5 additions and 8 deletions

View File

@@ -339,7 +339,7 @@ public class EntityWolf extends EntityTameableAnimal {
}
protected boolean isTypeNotPersistent() {
return !this.isTamed() && this.ticksLived > 2400;
return !this.isTamed(); // CraftBukkit
}
public boolean a(EntityLiving entityliving, EntityLiving entityliving1) {