Package com.sk89q.worldedit

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

Related Classes of com.sk89q.worldedit.MaxChangedBlocksException

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.