Closed raffel080108 closed 9 months ago
I have also noticed, that the auto-completion for the mentioned form of a command is displayed to a player even if they do not have the specified command permission, in oppose to the normal format, which is completely hidden in that case
That's indeed a bug. I'll look into it when I get a chance. Thanks for the notice.
Seems to be fixed in https://github.com/Revxrsal/Lamp/commit/c54fcfbcb9139fcccb8f5bb3f0e3f49bcaf66901. Thanks for the report!
Let's say, for example, I register the command "test" in my plugin "testplugin". I can now use the command "/test" and everything works fine. However, if I try to type "/testplugin:test", it even shows up in auto-completion, but when executed it states "Invalid command: testplugin:test" (Just in plain text, not as brigadier error or something like that).
So the command seems to get registered correctly even in the mentioned form, but it is still considered invalid in some way
An example from a current project of mine:
(Just "/checktarget" works fine in this case)