diff --git a/eu/railduction/ruakij/spawnerDrops/listener/OnBlockBreak.java b/eu/railduction/ruakij/spawnerDrops/listener/OnBlockBreak.java index a241f14..ea62d17 100644 --- a/eu/railduction/ruakij/spawnerDrops/listener/OnBlockBreak.java +++ b/eu/railduction/ruakij/spawnerDrops/listener/OnBlockBreak.java @@ -100,6 +100,7 @@ public class OnBlockBreak implements Listener { bsm.setDisplayName(dropConfig.getString("item.name").replace("{mob-type}", cs.getSpawnedType().name())); item.setItemMeta(bsm); + e.getBlock().setType(Material.AIR); loc.getWorld().dropItem(loc, item); }