Examples of CHExplosionRecordEvent


Examples of com.nitnelave.CreeperHeal.events.CHExplosionRecordEvent

    {
        if (PluginHandler.isInArena(location))
            return;

        //process list is the list of blocks yet to be processed by creeperheal.
        CHExplosionRecordEvent event = new CHExplosionRecordEvent(originalBlockList, location, reason);
        Bukkit.getPluginManager().callEvent(event);
        if (event.isCancelled())
            return;
        List<Block> processList = new ArrayList(event.getBlocks());
        for(Block b : event.getProtectedBlocks())
        {
            CreeperBlock cb = CreeperBlock.newBlock(b.getState());
            ToReplaceList.addToReplace(cb);
            cb.remove();
        }
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.