mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-29 17:23:59 +00:00
Count inlets in structure veto
- Treat sea inlet columns as river water for the 10% surface structure rule
This commit is contained in:
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;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user