You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have 2 commands that overload each other where they have dedicated @Permision annotation. Then players missing permission that do invalid usage will be shown one of them in LiteMessages.INVALID_USAGE but if they do a valid usage they will be shown LiteMessages.MISSING_PERMISSIONS
These works
I have just copied the message from discord here: https://discord.com/channels/896933084983877662/896937021552078899/1337523891404542094
When I have 2 commands that overload each other where they have dedicated @Permision annotation. Then players missing permission that do invalid usage will be shown one of them in
LiteMessages.INVALID_USAGE
but if they do a valid usage they will be shownLiteMessages.MISSING_PERMISSIONS
These works
^^ /test
Output: Du har ikke tilladelse til at bruge denne kommando. (This is excepted)
^^ /test
Output: Du har ikke tilladelse til at bruge denne kommando. (This is excepted)
^^ /test
Output: Du har ikke tilladelse til at bruge denne kommando. (This is excepted)
This doesn't work
^^ /test
Output: Forkert brug. Brug:
/test [player] (This is not excepted)
/test PenT1x
Output: Du har ikke tilladelse til at bruge denne kommando. (This is excepted)
^^ /test
Output: Forkert brug. Brug:
/test (This is not excepted)
/test PenT1x
Output: Du har ikke tilladelse til at bruge denne kommando. (This is excepted)
And it has nothing with the Optional to do. Only had that there because the command I found this in had.
So I am kinda lost 🙂
The text was updated successfully, but these errors were encountered: