Skip to content

Passing subCommandArgs() will stick arg throughout the whole message  #25

@maytees

Description

@maytees

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> and going through each arg, and for that arg, see the autocomplete for it, should I try to go by this fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions