Fixed doc location
This commit is contained in:
parent
b336904fe5
commit
b5fd777474
1 changed files with 2 additions and 3 deletions
|
@ -17,6 +17,8 @@ public abstract class TBMCCommandBase {
|
||||||
|
|
||||||
public abstract boolean OnCommand(CommandSender sender, String alias, String[] args);
|
public abstract boolean OnCommand(CommandSender sender, String alias, String[] args);
|
||||||
|
|
||||||
|
public abstract String[] GetHelpText(String alias);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The command's path, or name if top-level command.<br>
|
* The command's path, or name if top-level command.<br>
|
||||||
* For example:<br>
|
* For example:<br>
|
||||||
|
@ -26,9 +28,6 @@ public abstract class TBMCCommandBase {
|
||||||
*
|
*
|
||||||
* @return The command path, <i>which is the command class name by default</i> (removing any "command" from it)
|
* @return The command path, <i>which is the command class name by default</i> (removing any "command" from it)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public abstract String[] GetHelpText(String alias);
|
|
||||||
|
|
||||||
public String GetCommandPath() {
|
public String GetCommandPath() {
|
||||||
return getClass().getSimpleName().toLowerCase().replace("command", "");
|
return getClass().getSimpleName().toLowerCase().replace("command", "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue