SimpAPI icon indicating copy to clipboard operation
SimpAPI copied to clipboard

Passing subCommandArgs() will stick arg throughout the whole message

Open maytees opened this issue 3 years ago • 0 comments

When I set subCommandArgs(), the autocomplete keeps on going:

image

image

@Override
    public List<String> getSubcommandArguments(Player player, String[] args) {
        return Arrays.asList(
                "note",
                "memory"
        );
    }

And it goes on and on.

I think this can be fixed by returning a 2d list (List<List<String>> and going through each arg, and for that arg, see the autocomplete for it, should I try to go by this fix?

maytees avatar Aug 19 '21 11:08 maytees