mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 07:02:18 -07:00
Change some block == AIR checks to isAir to catch CAVE_AIR
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
+ for (int i1 = this.blocks.size() - 1; i1 >= 0; i1--) {
|
||||
+ BlockPosition cpos = (BlockPosition) this.blocks.get(i1);
|
||||
+ org.bukkit.block.Block bblock = bworld.getBlockAt(cpos.getX(), cpos.getY(), cpos.getZ());
|
||||
+ if (bblock.getType() != org.bukkit.Material.AIR) {
|
||||
+ if (!bblock.getType().isAir()) {
|
||||
+ blockList.add(bblock);
|
||||
+ }
|
||||
+ }
|
||||
|
Reference in New Issue
Block a user