3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 04:50:05 +01:00
Paper/nms-patches/EntityHorseChestedAbstract.patch

20 Zeilen
570 B
Diff

2017-08-03 00:21:05 +02:00
--- a/net/minecraft/server/EntityHorseChestedAbstract.java
+++ b/net/minecraft/server/EntityHorseChestedAbstract.java
@@ -43,7 +43,7 @@
}
public void die(DamageSource damagesource) {
- super.die(damagesource);
+ // super.die(damagesource); // CraftBukkit - moved down
if (this.isCarryingChest()) {
if (!this.world.isClientSide) {
this.a(Item.getItemOf(Blocks.CHEST), 1);
@@ -51,6 +51,7 @@
this.setCarryingChest(false);
}
+ super.die(damagesource); // CraftBukkit
}