From 5c96d23080f9c4bf0a21769c41ba5f4ba58b8a67 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Sun, 6 Nov 2016 18:16:46 -0500 Subject: [PATCH] Switched OnCommand and GetHelpText *GetHelpText wasn't with its friends and it's driving me CRAZY* --- src/main/java/buttondevteam/lib/chat/TBMCCommandBase.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/buttondevteam/lib/chat/TBMCCommandBase.java b/src/main/java/buttondevteam/lib/chat/TBMCCommandBase.java index 33d7773..0379c9f 100644 --- a/src/main/java/buttondevteam/lib/chat/TBMCCommandBase.java +++ b/src/main/java/buttondevteam/lib/chat/TBMCCommandBase.java @@ -14,9 +14,7 @@ public abstract class TBMCCommandBase { public TBMCCommandBase() { } - - public abstract String[] GetHelpText(String alias); - + public abstract boolean OnCommand(CommandSender sender, String alias, String[] args); /** @@ -28,6 +26,9 @@ public abstract class TBMCCommandBase { * * @return The command path, which is the command class name by default (removing any "command" from it) */ + + public abstract String[] GetHelpText(String alias); + public String GetCommandPath() { return getClass().getSimpleName().toLowerCase().replace("command", ""); } -- 2.30.2