Despical / CommandFramework

A lightweight annotation based command system
https://spigotmc.org/resources/89933
GNU General Public License v3.0
23 stars 5 forks source link

[Bug] Aliases doesn't work #3

Closed gamerover98 closed 1 year ago

gamerover98 commented 1 year ago

Description of Issue

Hi, I'm trying this library and I have found the first hiccup. By following exactly the wiki, the example command works but aliases firstAlias and secondAlias don't. Typing the aliases from the console or from the chat the result is the same: Unknown command. Type "/help" for help.

Steps to Reproduce

Use the wiki example usage.

Command Framework Version

1.2.0

Server Version

Tested on: Spigot 1.8.8 and Spigot 1.20.1

Stack Trace/Log Files/Crash Reports

> firstAlias
[12:49:34 INFO]: Unknown command. Type "/help" for help.
> secondAlias
[12:49:34 INFO]: Unknown command. Type "/help" for help.

Additional Information

No additional information.


Looking forward to your feedback and collaboration on this enhancement. Thank you

Despical commented 1 year ago

I'll check in a few hours, thanks for the report.

Despical commented 1 year ago

Bukkit does not support case-sensitive command aliases if any alias contains upper letter and the issue is fixed in 5b85d9e.