Fix WetRegion -> WetRegionData

Fix DynamicRegionSystem.get
Add Fallback.schem for PathArea
This commit is contained in:
2026-08-13 17:40:57 +02:00
parent bf5f48be9c
commit dbeb24d700
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;
}