mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-01 22:55:06 +01:00
[Bleeding] Recheck persistence for chicken jockeys each tick. Fixes BUKKIT-5577
This commit is contained in:
parent
5195513866
commit
c3e4767a79
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ public class EntityChicken extends EntityAnimal {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void e() {
|
public void e() {
|
||||||
|
// CraftBukkit start
|
||||||
|
if (this.bZ()) { // should be isChickenJockey
|
||||||
|
this.persistent = !this.isTypeNotPersistent();
|
||||||
|
}
|
||||||
|
// CraftBukkit end
|
||||||
super.e();
|
super.e();
|
||||||
this.bs = this.bp;
|
this.bs = this.bp;
|
||||||
this.br = this.bq;
|
this.br = this.bq;
|
||||||
|
|
Loading…
Add table
Reference in a new issue