mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-04 18:09:32 +01:00
Updated dependencies and added support for fireball item blocking (id 385).
This commit is contained in:
parent
18b5a4e106
commit
a98ebfdb21
4
pom.xml
4
pom.xml
@ -40,14 +40,14 @@
|
||||
<dependency>
|
||||
<groupId>com.sk89q</groupId>
|
||||
<artifactId>worldedit</artifactId>
|
||||
<version>5.3</version>
|
||||
<version>5.4-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Bukkit -->
|
||||
<dependency>
|
||||
<groupId>org.bukkit</groupId>
|
||||
<artifactId>bukkit</artifactId>
|
||||
<version>1.2.5-R1.2-SNAPSHOT</version>
|
||||
<version>1.2.5-R3.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- CommandBook -->
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user