Adds the config command as a child to the Stargate command
This commit is contained in:
parent
1ca2d36f5f
commit
37cf75ada1
@ -23,6 +23,8 @@ public class CommandStarGate implements CommandExecutor {
|
|||||||
return new CommandAbout().onCommand(commandSender, command, s, args);
|
return new CommandAbout().onCommand(commandSender, command, s, args);
|
||||||
} else if (args[0].equalsIgnoreCase("reload")) {
|
} else if (args[0].equalsIgnoreCase("reload")) {
|
||||||
return new CommandReload().onCommand(commandSender, command, s, args);
|
return new CommandReload().onCommand(commandSender, command, s, args);
|
||||||
|
} else if (args[0].equalsIgnoreCase("config")) {
|
||||||
|
return new CommandConfig().onCommand(commandSender, command, s, args);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user