Package org.spout.vanilla.service.protection

Examples of org.spout.vanilla.service.protection.SpawnProtection


        } else {
          spawn = world.getSpawnPoint().getPosition();
        }

        // Start the protection for the spawn
        ((VanillaProtectionService) getEngine().getServiceManager().getRegistration(ProtectionService.class).getProvider()).addProtection(new SpawnProtection(world.getName() + " Spawn Protection", world, spawn, protectionRadius));

        // Chunks coords of the spawn
        int cx = spawn.getBlockX() >> Chunk.BLOCKS.BITS;
        int cz = spawn.getBlockZ() >> Chunk.BLOCKS.BITS;
View Full Code Here

TOP

Related Classes of org.spout.vanilla.service.protection.SpawnProtection

Copyright © 2018 www.massapicom. 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.