From a98ebfdb21dbe1a7eab3a2524ad7073455214a61 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Thu, 7 Jun 2012 13:26:28 +0200 Subject: [PATCH] Updated dependencies and added support for fireball item blocking (id 385). --- pom.xml | 4 ++-- .../com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 93172c46..966c335c 100644 --- a/pom.xml +++ b/pom.xml @@ -40,14 +40,14 @@ com.sk89q worldedit - 5.3 + 5.4-SNAPSHOT org.bukkit bukkit - 1.2.5-R1.2-SNAPSHOT + 1.2.5-R3.1-SNAPSHOT diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java index 871dd5e5..8bf29f79 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java @@ -297,7 +297,7 @@ public void onBlockIgnite(BlockIgniteEvent event) { return; } - if (wcfg.blockLighter && cause == IgniteCause.FLINT_AND_STEEL + if (wcfg.blockLighter && (cause == IgniteCause.FLINT_AND_STEEL || cause == IgniteCause.FIREBALL) && event.getPlayer() != null && !plugin.hasPermission(event.getPlayer(), "worldguard.override.lighter")) { event.setCancelled(true);