make sure bubble columns can be placed for easyPlace

This commit is contained in:
ForestOfLight
2025-12-14 15:43:41 -08:00
Unverified
parent 3137a36085
commit 512d2f3d51
+2
View File
@@ -106,6 +106,8 @@ function tryConvertBannedToValidBlock(structureBlock) {
const blockId = structureBlock.type.id.replace('minecraft:', '');
if (Object.keys(bannedToValidBlockMap).includes(blockId))
return BlockPermutation.resolve(bannedToValidBlockMap[blockId], structureBlock.getAllStates());
if (blockId === "bubble_column" && structureBlock.isWaterlogged)
return BlockPermutation.resolve('minecraft:water');
return structureBlock;
}