diff --git a/src/main/java/net/minecraft/server/EntityMagmaCube.java b/src/main/java/net/minecraft/server/EntityMagmaCube.java index 46be9cbd7a..589ac2a18b 100644 --- a/src/main/java/net/minecraft/server/EntityMagmaCube.java +++ b/src/main/java/net/minecraft/server/EntityMagmaCube.java @@ -48,7 +48,9 @@ public class EntityMagmaCube extends EntitySlime { k += this.random.nextInt(i + 1); } - loot.add(new org.bukkit.inventory.ItemStack(j, k)); + if (k > 0) { + loot.add(new org.bukkit.inventory.ItemStack(j, k)); + } } CraftEventFactory.callEntityDeathEvent(this, loot);