Class RegionDatabaseUtils
java.lang.Object
com.sk89q.worldguard.protection.managers.storage.RegionDatabaseUtils
This class provides utility methods that may be helpful in the
implementation of region databases.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
relinkParents
(Map<String, ProtectedRegion> regions, Map<ProtectedRegion, String> parentSets) Re-link parent regions on each provided region using the two provided maps.
-
Method Details
-
relinkParents
public static void relinkParents(Map<String, ProtectedRegion> regions, Map<ProtectedRegion, String> parentSets) Re-link parent regions on each provided region using the two provided maps.- Parameters:
regions
- the map of regions from which parent regions are foundparentSets
- a mapping of region to parent name
-