Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 13:00:06 +01:00
24 Zeilen
718 B
Diff
24 Zeilen
718 B
Diff
--- a/net/minecraft/server/EntityHorseChestedAbstract.java
|
|
+++ b/net/minecraft/server/EntityHorseChestedAbstract.java
|
|
@@ -43,14 +43,18 @@
|
|
}
|
|
|
|
public void die(DamageSource damagesource) {
|
|
- super.die(damagesource);
|
|
+ // super.die(damagesource); // CraftBukkit - moved down
|
|
if (this.isCarryingChest()) {
|
|
if (!this.world.isClientSide) {
|
|
this.a((IMaterial) Blocks.CHEST);
|
|
}
|
|
|
|
- this.setCarryingChest(false);
|
|
+ // this.setCarryingChest(false); // CraftBukkit - moved down
|
|
}
|
|
+ // CraftBukkit start
|
|
+ super.die(damagesource);
|
|
+ this.setCarryingChest(false);
|
|
+ // CraftBukkit end
|
|
|
|
}
|
|
|