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