commodore icon indicating copy to clipboard operation
commodore copied to clipboard

Using commodore makes commands not usable with command blocks

Open marcbal opened this issue 4 years ago • 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.

marcbal avatar May 16 '20 21:05 marcbal

Might be fixed by 7bbcbe4f4722d5b670a074a0995bf24633d03885

could you re-test?

lucko avatar Feb 07 '22 22:02 lucko

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

marcbal avatar Feb 07 '22 22:02 marcbal

No worries 😄

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

lucko avatar Feb 07 '22 22:02 lucko