@@ -27,6 +27,12 @@ class WorldGuardWrapper
|
|||||||
{
|
{
|
||||||
World world = lesserCorner.getWorld();
|
World world = lesserCorner.getWorld();
|
||||||
|
|
||||||
|
if (worldGuard == null)
|
||||||
|
{
|
||||||
|
GriefPrevention.AddLogEntry("WorldGuard is out of date. Please update or remove WorldGuard.");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if(new RegionPermissionModel(this.worldGuard, creatingPlayer).mayIgnoreRegionProtection(world)) return true;
|
if(new RegionPermissionModel(this.worldGuard, creatingPlayer).mayIgnoreRegionProtection(world)) return true;
|
||||||
|
|
||||||
RegionManager manager = this.worldGuard.getRegionManager(world);
|
RegionManager manager = this.worldGuard.getRegionManager(world);
|
||||||
|
|||||||
Reference in New Issue
Block a user