Added more subcommands for '/cgui admin info'

This commit is contained in:
JaTiTV 2021-12-31 04:17:11 +01:00
parent b5553c770d
commit 5d8188b684

View File

@ -39,6 +39,10 @@ public class CmdExecuter_GUI implements CommandExecutor, TabCompleter {
switch (args[1].toLowerCase()) { switch (args[1].toLowerCase()) {
case "info": case "info":
case "plugin":
case "pl":
case "version":
case "ver":
if (sender.hasPermission("commandgui.command.info")) { if (sender.hasPermission("commandgui.command.info")) {
Commands.info(sender); Commands.info(sender);
} else sender.sendMessage(SelectMessages.NoPermissionForCommand } else sender.sendMessage(SelectMessages.NoPermissionForCommand