diff --git a/src/main/java/io/ncbpfluffybear/fluffymachines/items/tools/UpgradedExplosiveTool.java b/src/main/java/io/ncbpfluffybear/fluffymachines/items/tools/UpgradedExplosiveTool.java index 1dd34dcd..c2a8f351 100644 --- a/src/main/java/io/ncbpfluffybear/fluffymachines/items/tools/UpgradedExplosiveTool.java +++ b/src/main/java/io/ncbpfluffybear/fluffymachines/items/tools/UpgradedExplosiveTool.java @@ -166,15 +166,17 @@ private void breakBlock(Player p, ItemStack item, Block b, List drops // Don't break SF blocks if (sfItem != null) { return; + } else { + b.breakNaturally(item); } + damageItem(p, item); + if (triggerOtherPlugins.getValue()) { AlternateBreakEvent breakEvent = new AlternateBreakEvent(b, p); Bukkit.getServer().getPluginManager().callEvent(breakEvent); } - b.breakNaturally(item); - - damageItem(p, item); } + } diff --git a/src/main/java/io/ncbpfluffybear/fluffymachines/items/tools/UpgradedLumberAxe.java b/src/main/java/io/ncbpfluffybear/fluffymachines/items/tools/UpgradedLumberAxe.java index d9169554..8b592124 100644 --- a/src/main/java/io/ncbpfluffybear/fluffymachines/items/tools/UpgradedLumberAxe.java +++ b/src/main/java/io/ncbpfluffybear/fluffymachines/items/tools/UpgradedLumberAxe.java @@ -61,10 +61,10 @@ private ToolUseHandler onBlockBreak() { for (Block b : logs) { if (Slimefun.getProtectionManager().hasPermission(e.getPlayer(), b, Interaction.BREAK_BLOCK) && BlockStorage.checkID(b) == null) { + b.breakNaturally(tool); if (triggerOtherPlugins.getValue()) { Bukkit.getPluginManager().callEvent(new AlternateBreakEvent(b, e.getPlayer())); } - b.breakNaturally(tool); } } }