mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-07 12:33:36 +08:00
Change commands to use new usage message method.
This commit is contained in:
committed by
Luke H-W
Unverified
parent
2cfbe78184
commit
104e04f70a
@@ -68,7 +68,6 @@ public interface CommandHandler {
|
||||
default String getDescriptionString(Player player) {
|
||||
Command annotation = this.getClass().getAnnotation(Command.class);
|
||||
String key = "commands.%s.description".formatted(annotation.label());
|
||||
// TODO: fallback to "commands.generic.no_description_specified"
|
||||
return translate(player, key);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user