SPIGOT-1030: Allow commands.yml to act on aliases

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-06-25 21:34:11 +10:00
parent 880ba74a11
commit b54985de63

View file

@ -222,7 +222,7 @@ public class SimpleCommandMap implements CommandMap {
Map<String, String[]> values = server.getCommandAliases();
for (String alias : values.keySet()) {
if (alias.contains(":") || alias.contains(" ")) {
if (alias.contains(" ")) {
server.getLogger().warning("Could not register alias " + alias + " because it contains illegal characters");
continue;
}