Add deb for onBlockIgnite event

This commit is contained in:
N0tMyFaultOG 2020-09-02 17:03:56 +02:00
parent 03c889383b
commit 7a529e156d
2 changed files with 9 additions and 8 deletions

View File

@ -1030,6 +1030,7 @@ public class BlockEventListener implements Listener {
}
} else if (!plot.getFlag(BlockIgnitionFlag.class)) {
event.setCancelled(true);
plot.debug("Block ignition was cancelled because block-ignition = false");
}
} else {
if (plot == null) {

View File

@ -18,6 +18,12 @@
<version>1.18.12</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>20.1.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-core</artifactId>
@ -71,7 +77,7 @@
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.25</version>
<version>1.26</version>
<scope>runtime</scope>
</dependency>
<dependency>
@ -83,13 +89,7 @@
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>1.3.72</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>20.0.0</version>
<version>1.4.0</version>
<scope>runtime</scope>
</dependency>
<dependency>