summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityChicken.patch
blob: fdad042007d5beea8d06f30134868c8747ef67b6 (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
@@ -43,6 +43,11 @@
     }
 
     public void n() {
+        // CraftBukkit start
+        if (this.isChickenJockey()) {
+            this.persistent = !this.isTypeNotPersistent();
+        }
+        // CraftBukkit end
         super.n();
         this.bz = this.bv;
         this.bx = this.bw;