Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-3487: Llama doesn't drop chest
Dieser Commit ist enthalten in:
Ursprung
86aa17fae1
Commit
2cfb85dae2
19
nms-patches/EntityHorseChestedAbstract.patch
Normale Datei
19
nms-patches/EntityHorseChestedAbstract.patch
Normale Datei
@ -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
|
||||
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren