@Command( aliases = {"waypoint", "wp"}, desc = "The main waypoint command", max = 1) @NestedCommand(value = WaypointSubCommands.class, ignoreBody = false) public void waypoint(CommandSource source, CommandArguments args) throws CommandException { if (source instanceof Player && args.length() == 1) { source.processCommand("waypoint", "tpto", args.getString(0)); } }