geforkt von Mirrors/Paper
MC-157395, SPIGOT-5193: Small armor stands do not drop loot
Dieser Commit ist enthalten in:
Ursprung
6da0abca08
Commit
0b107b8de3
@ -139,8 +139,17 @@
|
||||
|
||||
}
|
||||
|
||||
@@ -602,6 +639,7 @@
|
||||
@@ -600,8 +637,16 @@
|
||||
return this.isSmall();
|
||||
}
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ @Override
|
||||
+ protected boolean isDropExperience() {
|
||||
+ return true; // MC-157395, SPIGOT-5193 even baby (small) armor stands should drop
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
@Override
|
||||
public void killEntity() {
|
||||
+ org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(this, drops); // CraftBukkit - call event
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren