mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
19 lines
570 B
Diff
19 lines
570 B
Diff
--- 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
|
|
|
|
}
|
|
|