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
387 B
Diff

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