3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +01:00
Paper/nms-patches/EntityChicken.patch
Thinkofdeath 90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00

15 Zeilen
497 B
Diff

--- ../work/decompile-8eb82bde//net/minecraft/server/EntityChicken.java 2014-11-28 17:43:43.065707436 +0000
+++ src/main/java/net/minecraft/server/EntityChicken.java 2014-11-28 17:38:21.000000000 +0000
@@ -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;