From c3e4767a793f2a77ddba1aabf15dbaa38798e9a2 Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 28 Apr 2014 12:45:02 -0400 Subject: [PATCH] [Bleeding] Recheck persistence for chicken jockeys each tick. Fixes BUKKIT-5577 --- src/main/java/net/minecraft/server/EntityChicken.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/net/minecraft/server/EntityChicken.java b/src/main/java/net/minecraft/server/EntityChicken.java index 9a6daff481..f7438b9c7c 100644 --- a/src/main/java/net/minecraft/server/EntityChicken.java +++ b/src/main/java/net/minecraft/server/EntityChicken.java @@ -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;