waterlogging support

This commit is contained in:
ForestOfLight
2025-07-10 15:24:32 -07:00
Unverified
parent 357327e9b0
commit 9bb2b002c9
5 changed files with 18 additions and 8 deletions
@@ -36,7 +36,8 @@ export class BlockVerifier {
return worldPermuation.type.id === structurePermuation.type.id;
}
isExactMatch(worldPermuation, structurePermuation) {
return worldPermuation.matches(structurePermuation.type.id, structurePermuation.getAllStates());
isExactMatch(worldPermutation, structurePermutation) {
return worldPermutation.matches(structurePermutation.type.id, structurePermutation.getAllStates())
&& this.block.isWaterlogged === structurePermutation.isWaterlogged;
}
}