added missing return (fixes #7)

This commit is contained in:
hyperdefined
2022-02-24 11:46:08 -05:00
parent 63b3cb1d03
commit 42f100f0b0

View File

@@ -51,6 +51,7 @@ public class CommandToolStats implements TabExecutor {
}
if (args.length == 0) {
sender.sendMessage(ChatColor.GREEN + "ToolStats version " + toolStats.getDescription().getVersion() + ". Created by hyperdefined.");
return true;
}
switch (args[0]) {
case "reload": {