forked from SteamWar/SteamWar
Fix WetRegion -> WetRegionData
Fix DynamicRegionSystem.get Add Fallback.schem for PathArea
This commit is contained in:
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user