Count inlets in structure veto

- Treat sea inlet columns as river water for the 10% surface structure rule
This commit is contained in:
Brian Fopiano committed 2026-11-03 19:50:33 -05:00
1 parent 8d18e0de7a
commit 8189215328
2 files changed
+12 -4

No files matched your search

@@ -44,8 +44,8 @@ public final class IrisStructureWater implements StructureWater {
static boolean river(WaterRole role) {
return switch (role) {
case CHANNEL, POND, CASCADE, WATERFALL -> true;
case NONE, BANK, SHORE, POND_SHORE, DAM, MOUTH, INLET -> false;
case CHANNEL, POND, CASCADE, WATERFALL, INLET -> true;
case NONE, BANK, SHORE, POND_SHORE, DAM, MOUTH -> false;
};
}
}