lucko/commodore

Using commodore makes commands not usable with command blocks

Opened this issue · 3 comments

When declaring a command in commodore, the command does not execute anymore in a command block, but still does work in chat.

A possible fix, like the current code do with setCustomSuggestionProvider, is to set the executes property of each command node to the instance of BukkitCommandWrapper (that also implements com.mojang.brigadier.Command).
I already tried that by manually doing it on a specific command, and it works properly now.

It seems that the execution of the command blocs is directly parsed with the vanilla CommandDispatcher of the server, instead of being parsed by the Bukkit command dispatcher.

lucko commented

Might be fixed by 7bbcbe4

could you re-test?

I'm not using commodore since a long time now :/
Maybe someone else is able to test?

lucko commented

No worries 😄

Didn't realise how old this issue was - sorry I didn't get around to looking sooner.