#293 Fix localized command losing its children
This commit is contained in:
@@ -62,7 +62,9 @@ public class HelpMessagesService implements Reloadable {
|
||||
++i;
|
||||
}
|
||||
|
||||
return builder.build();
|
||||
CommandDescription localCommand = builder.build();
|
||||
localCommand.getChildren().addAll(command.getChildren());
|
||||
return localCommand;
|
||||
}
|
||||
|
||||
public String getMessage(HelpMessage message) {
|
||||
|
||||
@@ -29,9 +29,10 @@ section:
|
||||
|
||||
# -------------------------------------------------------
|
||||
# You can translate the data for all commands using the below pattern.
|
||||
# So for example to translate /authme reload, create a section "authme.reload", or "login" for /login
|
||||
# For example to translate /authme reload, create a section "authme.reload", or "login" for /login
|
||||
# If the command has arguments, you can use arg1 as below to translate the first argument, and so forth
|
||||
# Translations don't need to be complete; any missing section will be taken from the default silently
|
||||
# Important: Put main commands like "authme" before their children (e.g. "authme.reload")
|
||||
commands:
|
||||
authme.register:
|
||||
description: 'Register a player'
|
||||
|
||||
Reference in New Issue
Block a user