summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityChicken.patch
blob: 190c725243fa1456b148ad25e1b7b137dee1f3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/net/minecraft/server/EntityChicken.java
+++ b/net/minecraft/server/EntityChicken.java
@@ -35,6 +35,11 @@
     }
 
     public void m() {
+        // CraftBukkit start
+        if (this.isChickenJockey()) {
+            this.persistent = !this.isTypeNotPersistent();
+        }
+        // CraftBukkit end
         super.m();
         this.bq = this.bm;
         this.bp = this.bo;