Fix DynamicRegionSystem#get(Tile)

This commit is contained in:
2026-03-16 21:08:26 +01:00
parent 0d1cbe4cf7
commit d0ceaa0031
@@ -102,7 +102,7 @@ public class DynamicRegionSystem implements RegionSystem {
public @NonNull Region get(@Nullable Tile tile) {
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) {