Adds the config command as a child to the Stargate command

This commit is contained in:
Kristian Knarvik 2021-11-09 02:01:58 +01:00
parent 1ca2d36f5f
commit 37cf75ada1

View File

@ -23,6 +23,8 @@ public class CommandStarGate implements CommandExecutor {
return new CommandAbout().onCommand(commandSender, command, s, args);
} else if (args[0].equalsIgnoreCase("reload")) {
return new CommandReload().onCommand(commandSender, command, s, args);
} else if (args[0].equalsIgnoreCase("config")) {
return new CommandConfig().onCommand(commandSender, command, s, args);
}
return false;
} else {