Package org.spout.api.command

Examples of org.spout.api.command.Command


    if (Spout.debugMode()) {
      Spout.getLogger().info("Executing: " + command + " " + arguments);
    }

    Command cmd = Spout.getCommandManager().getCommand(command, false);
    if (cmd == null) {
      Spout.getLogger().warning("CommandBlock tried to send unknown command: " + command);
      return;
    }

    try {
      cmd.process(this, args);
    } catch (CommandException e) {
      sendMessage(ChatStyle.RED + e.getMessage());
    }
  }
View Full Code Here

TOP

Related Classes of org.spout.api.command.Command

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.