Change some block == AIR checks to isAir to catch CAVE_AIR
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
+ } else {
|
||||
+ for (org.bukkit.block.Block block : event.blockList()) {
|
||||
+ org.bukkit.Material blockId = block.getType();
|
||||
+ if (blockId == org.bukkit.Material.AIR) {
|
||||
+ if (blockId.isAir()) {
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user