13
0
geforkt von Mirrors/Paper

SPIGOT-5195 (#2): Player loot table does not drop when keepInventory is on

By: Carl Poole <mail@carlpoole.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2019-07-26 16:47:49 -05:00
Ursprung 48e0a2b15c
Commit 87a13de04a

Datei anzeigen

@ -712,10 +712,6 @@ public class CraftEventFactory {
victim.expToDrop = event.getDroppedExp();
victim.newExp = event.getNewExp();
if (event.getKeepInventory()) {
return event;
}
for (org.bukkit.inventory.ItemStack stack : event.getDrops()) {
if (stack == null || stack.getType() == Material.AIR) continue;