diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ExplosiveTool.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ExplosiveTool.java index d1c61a6777..b2c61b8f8d 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ExplosiveTool.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ExplosiveTool.java @@ -59,18 +59,17 @@ public ToolUseHandler getItemHandler() { return (e, tool, fortune, drops) -> { Player p = e.getPlayer(); + Block b = e.getBlock(); if (!p.isSneaking()) { - Block b = e.getBlock(); - b.getWorld().createExplosion(b.getLocation(), 0); SoundEffect.EXPLOSIVE_TOOL_EXPLODE_SOUND.playAt(b); List blocks = findBlocks(b); breakBlocks(e, p, tool, b, blocks, drops); - SlimefunItem sfItem = StorageCacheUtils.getSfItem(b.getLocation()); - if (sfItem == null || sfItem.useVanillaBlockBreaking()) { - drops.addAll(b.getDrops(tool)); - } + } + SlimefunItem sfItem = StorageCacheUtils.getSfItem(b.getLocation()); + if (sfItem == null || sfItem.useVanillaBlockBreaking()) { + drops.addAll(b.getDrops(tool)); } }; }