diff --git a/src/main/java/net/minecraft/server/EntityWitch.java b/src/main/java/net/minecraft/server/EntityWitch.java index d300ec0b4a..99a8941121 100644 --- a/src/main/java/net/minecraft/server/EntityWitch.java +++ b/src/main/java/net/minecraft/server/EntityWitch.java @@ -142,7 +142,9 @@ public class EntityWitch extends EntityMonster implements IRangedEntity { l += this.random.nextInt(i + 1); } - loot.add(new org.bukkit.inventory.ItemStack(org.bukkit.craftbukkit.util.CraftMagicNumbers.getMaterial(item), l)); + if (l > 0) { + loot.add(new org.bukkit.inventory.ItemStack(org.bukkit.craftbukkit.util.CraftMagicNumbers.getMaterial(item), l)); + } } org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(this, loot);