Package net.aufdemrand.denizen.objects

Examples of net.aufdemrand.denizen.objects.dChunk


    // -->
    @EventHandler
    public void onChunkLoad(ChunkUnloadEvent event) {
        Map<String, dObject> context = new HashMap<String, dObject>();
        dWorld world = new dWorld(event.getWorld());
        context.put("chunk", new dChunk(event.getChunk()));
        String determination = EventManager.doEvents(Arrays.asList("chunk unloads",
                "chunk unloads " + world.identify()), null, null, context, true);
        if (determination.equalsIgnoreCase("cancelled"))
            event.setCancelled(true);
    }
View Full Code Here

TOP

Related Classes of net.aufdemrand.denizen.objects.dChunk

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.