summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityChicken.patch
blob: f98cd9d3f37928a9838656becafba9b5cd62eae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@@ -35,6 +35,11 @@
     }
 
     public void m() {
+        // CraftBukkit start
+        if (this.isChickenJockey()) {
+            this.persistent = !this.isTypeNotPersistent();
+        }
+        // CraftBukkit end
         super.m();
         this.bo = this.bk;
         this.bn = this.bm;