PaperMC/nms-patches/EntityChicken.patch
2015-05-25 20:37:24 +10:00

14 lines
387 B
Diff

--- 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;