Examples of EpicZone


Examples of com.epicsagaonline.bukkit.EpicZones.objects.EpicZone

    {
        Log.Write("Adding World: " + world.getName().toLowerCase());
        if (myGlobalZones.get(world.getName().toLowerCase()) == null)
        {

            EpicZone newGlobal = new EpicZone();

            newGlobal.setTag(world.getName().toLowerCase());
            newGlobal.setName(world.getName());
            newGlobal.setRadius(1000);
            newGlobal.setType("GLOBAL");
            newGlobal.setMobs("all");
            newGlobal.setWorld(world.getName());

            for (String zoneTag : myZones.keySet())
            {
                EpicZone zone = myZones.get(zoneTag);
                if (zone.getWorld().equalsIgnoreCase(world.getName()))
                {
                    newGlobal.addChild(zone);
                }
            }
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.