Fix WetRegion -> WetRegionData

Fix DynamicRegionSystem.get
Add Fallback.schem for PathArea
This commit is contained in:
2026-03-16 21:08:26 +01:00
parent dff2e088a2
commit 74e09abf8f
6 changed files with 107 additions and 28 deletions
@@ -118,7 +118,9 @@ public class DynamicRegionSystem implements RegionSystem {
.filter(rg -> rg.getArea().inRegion(x, z, false))
.findFirst()
.orElseGet(this::getGlobalRegion);
regionCache.put(tile.getId(), region);
if (fastCache || regions.contains(region)) {
regionCache.put(tile.getId(), region);
}
return region;
}