public final class WorldEditRegionConverter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static com.sk89q.worldedit.regions.Region |
convertToRegion(ProtectedRegion region)
Converts a ProtectedRegion to a WorldEdit Region, otherwise null if
the ProtectedRegion can't be converted to a RegionSelector.
|
static com.sk89q.worldedit.regions.RegionSelector |
convertToSelector(ProtectedRegion region)
Converts a ProtectedRegion to a WorldEdit RegionSelector, otherwise null if
the ProtectedRegion can't be converted to a RegionSelector.
|
public static com.sk89q.worldedit.regions.Region convertToRegion(ProtectedRegion region)
region - the WorldGuard regionpublic static com.sk89q.worldedit.regions.RegionSelector convertToSelector(ProtectedRegion region)
region - the WorldGuard region