mirror of
https://github.com/itHotL/PlayerStats.git
synced 2024-11-29 13:05:32 +01:00
Made "/stat help" also display the usage explanation
This commit is contained in:
parent
b316d6f3a5
commit
1bf8acf6ee
@ -35,6 +35,10 @@ public class StatCommand implements CommandExecutor {
|
||||
adventure.sender(sender).sendMessage(messageFactory.helpMsg(sender instanceof ConsoleCommandSender));
|
||||
return true;
|
||||
}
|
||||
else if (args[0].equalsIgnoreCase("help")) {
|
||||
adventure.sender(sender).sendMessage(messageFactory.helpMsg(sender instanceof ConsoleCommandSender));
|
||||
return false;
|
||||
}
|
||||
|
||||
else if (args[0].equalsIgnoreCase("examples") ||
|
||||
args[0].equalsIgnoreCase("example")) { //in case of "statistic examples", show examples
|
||||
|
Loading…
Reference in New Issue
Block a user