Examples of MaxChangedBlocksException


Examples of com.sk89q.worldedit.MaxChangedBlocksException

    @Override
    public boolean setBlock(Vector location, BaseBlock block) throws WorldEditException {
        if (limit >= 0) {
            if (count >= limit) {
                throw new MaxChangedBlocksException(limit);
            }
            count++;
        }
        return super.setBlock(location, block);
    }
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.