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/BankCommand.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java/me/Danker/commands/BankCommand.java') diff --git a/src/main/java/me/Danker/commands/BankCommand.java b/src/main/java/me/Danker/commands/BankCommand.java index e1bbdde..ddf9502 100644 --- a/src/main/java/me/Danker/commands/BankCommand.java +++ b/src/main/java/me/Danker/commands/BankCommand.java @@ -34,7 +34,11 @@ public class BankCommand extends CommandBase { public String getCommandUsage(ICommandSender arg0) { return "/" + getCommandName() + " [name]"; } - + + public static String usage(ICommandSender arg0) { + return new BankCommand().getCommandUsage(arg0); + } + @Override public int getRequiredPermissionLevel() { return 0; -- cgit