OkaeriPoland / okaeri-commands

Simple command framework with yet powerful features and ability to adapt
MIT License
6 stars 0 forks source link

Brigadier tab-complete support seems flaky with complex commands #7

Open dasavick opened 2 years ago

dasavick commented 2 years ago

Commands having multiple patterns only work for the single something of the seemingly random pattern:

Also, applicable for patterns with more arguments like:

dasavick commented 1 year ago

Real-life example:

@Executor
public BukkitResponse assign(CommandSender sender, @Arg Player target, @Arg QuestMeta quest, @Arg Option<QuestMeta> requires) {
    //
}

@Executor(pattern = "assign @a * *")
public BukkitResponse assign_all(CommandSender sender, @Arg QuestMeta quest, @Arg QuestMeta requires) {
    //
}

image

dasavick commented 7 months ago

image