mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-18 01:46:44 +01:00
Change commands to use new usage message method.
This commit is contained in:
@@ -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