From 76d1c2b416c1938c62d9f6c2230dd99a47c38ba1 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Sat, 20 Mar 2021 18:28:59 -0400 Subject: Make updating /dhelp easier --- src/main/java/me/Danker/commands/ArmourCommand.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java/me/Danker/commands/ArmourCommand.java') diff --git a/src/main/java/me/Danker/commands/ArmourCommand.java b/src/main/java/me/Danker/commands/ArmourCommand.java index 579a413..4597309 100644 --- a/src/main/java/me/Danker/commands/ArmourCommand.java +++ b/src/main/java/me/Danker/commands/ArmourCommand.java @@ -39,7 +39,11 @@ public class ArmourCommand extends CommandBase { public String getCommandUsage(ICommandSender arg0) { return "/" + getCommandName() + " [name]"; } - + + public static String usage(ICommandSender arg0) { + return new ArmourCommand().getCommandUsage(arg0); + } + @Override public int getRequiredPermissionLevel() { return 0; -- cgit