Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @CommandHandler(
- command = "cc.upgrade",
- permission = "cc.upgrade",
- noPermission = "You do not have permission to upgrade buildings",
- usage = "/cc upgrade <building name>",
- description = "Updates the building of the name you choose, if you have multiples of that building it selects the "
- + "building which is closest to you of that type.",
- playerOnly = false, min = 1, max = 1)
- public void onCommandUpgrade(CommandInfo info)
- {
- System.out.println("Command: " + info.getCommand());
- System.out.println("Arg amounts: " + info.getArgsLength() + "\n Args:");
- for(String s : info.getArgs())
- System.out.println(s);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement