Change commands to use new usage message method.

This commit is contained in:
AnimeGitB
2022-07-21 21:05:23 +09:30
committed by Luke H-W
parent 2cfbe78184
commit 104e04f70a
34 changed files with 89 additions and 344 deletions

View File

@@ -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);
}