From 19be2bf96e9bcc2f8754c6c81be81fda19f487f2 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 4 Aug 2012 22:31:41 +0700 Subject: [PATCH] Updated fireball item blocking --- .../com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java index 8bf29f79..35ca66a7 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java @@ -333,7 +333,7 @@ public void onBlockIgnite(BlockIgniteEvent event) { if (player != null && !plugin.getGlobalRegionManager().hasBypass(player, world)) { LocalPlayer localPlayer = plugin.wrapPlayer(player); - if (cause == IgniteCause.FLINT_AND_STEEL) { + if (cause == IgniteCause.FLINT_AND_STEEL || cause == IgniteCause.FIREBALL) { if (!set.canBuild(localPlayer)) { event.setCancelled(true); return;