Class RegionDatabaseUtils

java.lang.Object
com.sk89q.worldguard.protection.managers.storage.RegionDatabaseUtils

public final class RegionDatabaseUtils extends Object
This class provides utility methods that may be helpful in the implementation of region databases.
See Also:
  • 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 found
      parentSets - a mapping of region to parent name