13
0
geforkt von Mirrors/Paper

SPIGOT-3487: Llama doesn't drop chest

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2017-08-03 08:21:05 +10:00
Ursprung ead7545014
Commit 6f93c6c962

Datei anzeigen

@ -0,0 +1,19 @@
--- 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
}