Merge pull request #4233 from SrBedrock/patch-1

Update CommandRegistrationManager.java
This commit is contained in:
Robert Alan Chapton 2020-07-27 20:26:26 -07:00 committed by GitHub
commit 70c934fa69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -432,8 +432,8 @@ public final class CommandRegistrationManager {
private static void registerXPBarCommand() {
PluginCommand command = mcMMO.p.getCommand("mmoxpbar"); //TODO: Localize
command.setDescription(LocaleLoader.getString("Commands.Description.mmoxpbar"));
command.setUsage(LocaleLoader.getString("Commands.Usage.1", "mmoxpbar", "<reset>"));
command.setUsage(command.getUsage() +"\n" + LocaleLoader.getString("Commands.Usage.2", "mmoxpbar", "<skillname>", "<show | hide>"));
command.setUsage(LocaleLoader.getString("Commands.Usage.1", "mmoxpbar", "<reset | disable>"));
command.setUsage(command.getUsage() +"\n" + LocaleLoader.getString("Commands.Usage.2", "mmoxpbar", "<show | hide | disable>", "<skillname>"));
command.setExecutor(new XPBarCommand());
}