LiteCommands icon indicating copy to clipboard operation
LiteCommands copied to clipboard

Allow the ability to use aliases without requiring a name in @Execute

Open RyanTheTechMan opened this issue 1 year ago • 0 comments

This would only affect @Execute as you need a base command to add arguments to.

Currently in v3.4.2 if an alias is set without the name parameter, then aliases are not used. This is not expected behavior.

Wanted:

@Execute(aliases = {"info"})

This would allow the player to run /example or /example info

The current work around is to create two separate functions, one with a name parameter and one without.

RyanTheTechMan avatar Jun 08 '24 02:06 RyanTheTechMan