From ff3fa759d1e305af80e25d1d343681301403c9ed Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 17 Aug 2014 00:49:50 -0700 Subject: [PATCH] Don't throw an internal block break event when lighting TNT. --- .../bukkit/listener/EventAbstractionListener.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/com/sk89q/worldguard/bukkit/listener/EventAbstractionListener.java b/src/main/java/com/sk89q/worldguard/bukkit/listener/EventAbstractionListener.java index 95690988..0f1a9134 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/listener/EventAbstractionListener.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/listener/EventAbstractionListener.java @@ -234,14 +234,6 @@ public void onPlayerInteract(PlayerInteractEvent event) { } } } - - // Special handling of flint and steel on TNT - if (clicked.getType() == Material.TNT && item != null && item.getType() == Material.FLINT_AND_STEEL) { - if (Events.fireAndTestCancel(new BreakBlockEvent(event, create(event.getPlayer()), clicked))) { - event.setUseInteractedBlock(Result.DENY); - break; - } - } } // Special handling of putting out fires