Fix WetRegion -> WetRegionData

Fix DynamicRegionSystem.get
Add Fallback.schem for PathArea
This commit is contained in:
2026-03-06 15:34:53 +01:00
parent 9f27292fa2
commit ed51106d4a
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;
}