PaperMC/nms-patches/EntityChicken.patch

15 lines
387 B
Diff
Raw Normal View History

2015-05-25 20:37:24 +10:00
--- a/net/minecraft/server/EntityChicken.java
+++ b/net/minecraft/server/EntityChicken.java
2016-03-01 08:32:46 +11:00
@@ -43,6 +43,11 @@
}
2016-03-01 08:32:46 +11:00
public void n() {
+ // CraftBukkit start
+ if (this.isChickenJockey()) {
+ this.persistent = !this.isTypeNotPersistent();
+ }
+ // CraftBukkit end
2016-03-01 08:32:46 +11:00
super.n();
this.bz = this.bv;
this.bx = this.bw;