Examples of CuboidWorldGuard


Examples of de.beimax.simplespleef.gamehelpers.CuboidWorldGuard

      // error?
      if (world == null || regionManager == null) return null;
      // get region
      ProtectedRegion region = regionManager.getRegion(conf.getString(confbase + ".worldguardRegion"));
      if (region == null) return null;
      return new CuboidWorldGuard(region, world); // create world guard cuboid - very cool!
    } else { // normal, non WorldGuard coordinates
      // now, check sane coords
      String firstWorldString = conf.getString(confbase + ".a.world");
      String secondWorldString = conf.getString(confbase + ".b.world");
      World firstWorld = firstWorldString!=null?SimpleSpleef.getPlugin().getServer().getWorld(firstWorldString):null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.