mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-28 02:52:52 +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>
|
<dependency>
|
||||||
<groupId>com.sk89q</groupId>
|
<groupId>com.sk89q</groupId>
|
||||||
<artifactId>worldedit</artifactId>
|
<artifactId>worldedit</artifactId>
|
||||||
<version>5.3</version>
|
<version>5.4-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Bukkit -->
|
<!-- Bukkit -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>bukkit</artifactId>
|
<artifactId>bukkit</artifactId>
|
||||||
<version>1.2.5-R1.2-SNAPSHOT</version>
|
<version>1.2.5-R3.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- CommandBook -->
|
<!-- CommandBook -->
|
||||||
|
@ -297,7 +297,7 @@ public void onBlockIgnite(BlockIgniteEvent event) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wcfg.blockLighter && cause == IgniteCause.FLINT_AND_STEEL
|
if (wcfg.blockLighter && (cause == IgniteCause.FLINT_AND_STEEL || cause == IgniteCause.FIREBALL)
|
||||||
&& event.getPlayer() != null
|
&& event.getPlayer() != null
|
||||||
&& !plugin.hasPermission(event.getPlayer(), "worldguard.override.lighter")) {
|
&& !plugin.hasPermission(event.getPlayer(), "worldguard.override.lighter")) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user