Implement WG45PlotRegion

Implement WS175PlotRegion
This commit is contained in:
2026-03-21 18:05:47 +01:00
parent 3961938b8e
commit 7b22c9af63
4 changed files with 30 additions and 31 deletions
@@ -155,7 +155,7 @@ public class DynamicRegionSystem implements RegionSystem {
}
public @NonNull Stream<Region> getRegionsByType(RegionType type) {
return regionTypeMap.get(type).stream();
return regionTypeMap.getOrDefault(type, Collections.emptySet()).stream();
}
private Stream<Pair<Region, NeighbourDirection>> getNeighbours(Region region, boolean noCorners, boolean fastCache, Collection<Region> regions) {