Fix DynamicRegionSystem#get(Tile)

This commit is contained in:
2026-08-27 08:39:24 +02:00
parent 2ea91ea562
commit 04ff76d02a
@@ -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) {