3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 23:00:08 +01:00
Paper/nms-patches/EntityChicken.patch

15 Zeilen
496 B
Diff

2015-02-26 23:41:06 +01:00
--- /home/matt/mc-dev-private//net/minecraft/server/EntityChicken.java 2015-02-26 22:40:22.491608140 +0000
+++ src/main/java/net/minecraft/server/EntityChicken.java 2015-02-26 22:40:22.491608140 +0000
@@ -35,6 +35,11 @@
}
public void m() {
+ // CraftBukkit start
+ if (this.isChickenJockey()) {
+ this.persistent = !this.isTypeNotPersistent();
+ }
+ // CraftBukkit end
super.m();
2015-02-26 23:41:06 +01:00
this.bq = this.bm;
this.bp = this.bo;