1.0.10
- A description / explanation of the alias files has been added. - Small code changes
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user