Drain bubble columns as well

Fixes #1326
This commit is contained in:
dordsor21 2021-09-27 14:42:43 +01:00
parent 1cf5899586
commit 56999fd1e0
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -2035,12 +2035,12 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
//FAWE start - liquidmask
Mask liquidMask;
if (plants) {
liquidMask = new BlockTypeMask(this, BlockTypes.LAVA, BlockTypes.WATER,
liquidMask = new BlockTypeMask(this, BlockTypes.LAVA, BlockTypes.WATER, BlockTypes.BUBBLE_COLUMN,
BlockTypes.KELP_PLANT, BlockTypes.KELP, BlockTypes.SEAGRASS, BlockTypes.TALL_SEAGRASS
);
} else {
liquidMask = new BlockMaskBuilder()
.addTypes(BlockTypes.WATER, BlockTypes.LAVA)
.addTypes(BlockTypes.WATER, BlockTypes.LAVA, BlockTypes.BUBBLE_COLUMN)
.build(this);
}
//FAWE end