aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/SetkeyCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/commands/SetkeyCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/SetkeyCommand.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/commands/SetkeyCommand.java b/src/main/java/me/Danker/commands/SetkeyCommand.java
index ee4b5a5..cb0cd3f 100644
--- a/src/main/java/me/Danker/commands/SetkeyCommand.java
+++ b/src/main/java/me/Danker/commands/SetkeyCommand.java
@@ -20,7 +20,11 @@ public class SetkeyCommand extends CommandBase implements ICommand {
public String getCommandUsage(ICommandSender arg0) {
return "/" + getCommandName() + " <key>";
}
-
+
+ public static String usage(ICommandSender arg0) {
+ return new SetkeyCommand().getCommandUsage(arg0);
+ }
+
@Override
public int getRequiredPermissionLevel() {
return 0;