PaperMC/nms-patches/EntityChicken.patch
2016-03-01 09:32:45 +11:00

14 lines
387 B
Diff

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