Fix DynamicRegionSystem#get(Tile)

This commit is contained in:
2026-03-06 13:31:11 +01:00
parent 829e9413e6
commit 54bdf1e18f
@@ -102,7 +102,7 @@ public class DynamicRegionSystem implements RegionSystem {
public @NonNull Region get(@Nullable Tile tile) { public @NonNull Region get(@Nullable Tile tile) {
if (tile == null) return getGlobalRegion(); if (tile == null) return getGlobalRegion();
return get(tile.getCenterLocation().getBlockX(), tile.getCenterLocation().getBlockZ(), true, Collections.emptySet()); return get(tile.getCenterLocation().getBlockX(), tile.getCenterLocation().getBlockZ(), true, regionMap.values());
} }
private Region get(int x, int z, boolean fastCache, Collection<Region> regions) { private Region get(int x, int z, boolean fastCache, Collection<Region> regions) {