[Bleeding] Recheck persistence for chicken jockeys each tick. Fixes BUKKIT-5577

This commit is contained in:
GJ 2014-04-28 12:45:02 -04:00 committed by Nate Mortensen
parent 5195513866
commit c3e4767a79

View File

@ -37,6 +37,11 @@ public class EntityChicken extends EntityAnimal {
}
public void e() {
// CraftBukkit start
if (this.bZ()) { // should be isChickenJockey
this.persistent = !this.isTypeNotPersistent();
}
// CraftBukkit end
super.e();
this.bs = this.bp;
this.br = this.bq;