Package net.canarymod.converter

Examples of net.canarymod.converter.CanaryToVanilla


* @author Chris (damagefilter)
*/
public class CreateVanilla implements NativeCommand {

    public void execute(MessageReceiver caller, String[] parameters) {
        CanaryToVanilla converter = new CanaryToVanilla();
        String world = Configuration.getServerConfig().getDefaultWorldName();
        world = world + "_NORMAL";

        if (parameters.length > 1) {
            world = parameters[1];
        }

        if (!converter.convert(world)) {
            caller.notice("Failed to convert to vanilla.");
        }
        else {
            caller.message(Colors.YELLOW + "Succeed to convert to vanilla; result is in the vanilla/ folder.");
        }
View Full Code Here

TOP

Related Classes of net.canarymod.converter.CanaryToVanilla

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.