- A description / explanation of the alias files has been added.
- Small code changes
This commit is contained in:
2022-06-09 01:43:11 +02:00
parent 4334b26be5
commit e189722366
8 changed files with 142 additions and 18 deletions

View File

@@ -176,15 +176,14 @@ public class RegisterCommands extends Command {
for (String cmd : alias.consoleCommands) {
if (alias.consoleBungeeCommand) {
if (SelectConfig.Bungee) {
BCommandSenderReciver.sendToBungee(sender, cmd.replace("[player]", sender.getName()), true);
BCommandSenderReciver.sendToBungee(sender, cmd, true);
} else {
send.console(Util.getPrefix() + " §4To use bungee commands, enable the Bungee option in the config.");
send.sender(sender, Util.getPrefix() + " §4To use bungee commands, enable the Bungee option in the config.");
}
} else {
Cmd.console(cmd.replace("[player]", sender.getName()));
Cmd.console(cmd);
}
}
}
if (alias.consoleMessageEnable) {