throw new WrongUsageException("/" + this.getCommandName() + " set [<world-#>] <mode-name>");
World world = getWorld(sender, arguments);
String desired = arguments[arguments.length - 1];
ITreekeepingMode mode = PluginArboriculture.treeInterface.getTreekeepingMode(desired);
if (mode == null)
throw new CommandException(StringUtil.localize("chat.trees.command.treekeeping.error"), desired);
PluginArboriculture.treeInterface.setTreekeepingMode(world, mode.getName());
func_152373_a(sender, this, StringUtil.localize("chat.trees.command.treekeeping.set"), mode.getName());
} else if (arguments[0].matches("save")) {
if (arguments.length <= 1)
throw new WrongUsageException("/" + this.getCommandName() + " save <player-name>");