summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityChicken.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityChicken.patch')
-rw-r--r--nms-patches/EntityChicken.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/nms-patches/EntityChicken.patch b/nms-patches/EntityChicken.patch
new file mode 100644
index 00000000..07602829
--- /dev/null
+++ b/nms-patches/EntityChicken.patch
@@ -0,0 +1,14 @@
+--- ../work/decompile-bb26c12b/net/minecraft/server/EntityChicken.java 2014-11-27 08:59:46.657422040 +1100
++++ src/main/java/net/minecraft/server/EntityChicken.java 2014-11-27 08:42:10.104851005 +1100
+@@ -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;