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.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/EntityChicken.patch b/nms-patches/EntityChicken.patch
index 190c7252..fdad0420 100644
--- a/nms-patches/EntityChicken.patch
+++ b/nms-patches/EntityChicken.patch
@@ -1,14 +1,14 @@
--- a/net/minecraft/server/EntityChicken.java
+++ b/net/minecraft/server/EntityChicken.java
-@@ -35,6 +35,11 @@
+@@ -43,6 +43,11 @@
}
- public void m() {
+ public void n() {
+ // CraftBukkit start
+ if (this.isChickenJockey()) {
+ this.persistent = !this.isTypeNotPersistent();
+ }
+ // CraftBukkit end
- super.m();
- this.bq = this.bm;
- this.bp = this.bo;
+ super.n();
+ this.bz = this.bv;
+ this.bx = this.bw;