#"CommandEvent List Type Issue"

1 messages · Page 1 of 1 (latest)

wispy sailBOT
#

@clever saffron has a question:

jw9456

How is it possible that returned value of the commandEvent.commands() is of type List instead of List<CommandNode>? Is it Lombok error?

@Getter
@Accessors(fluent = true)
public class CommandEvent<T extends CommandSender> {

    private final T sender;
    private final CommandNode invokedCommand;
    private final List<CommandNode> commands;

...
#

<@&987246399047479336> please have a look, thanks.

desert cobalt
#

i think ,it returns the list which stores the Object of CommandNode.