diff options
author | md_5 <git@md-5.net> | 2016-06-25 21:34:11 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-06-25 21:34:11 +1000 |
commit | c3a46c9b8db54daf9425d73aa593e494f809bbde (patch) | |
tree | 483fca87f2b678607fc1e89edda80902c28b455e /src/main/java/org | |
parent | ee5ffeef052667ce63800a8f0a6e3e480b22fb62 (diff) | |
download | bukkit-c3a46c9b8db54daf9425d73aa593e494f809bbde.tar bukkit-c3a46c9b8db54daf9425d73aa593e494f809bbde.tar.gz bukkit-c3a46c9b8db54daf9425d73aa593e494f809bbde.tar.lz bukkit-c3a46c9b8db54daf9425d73aa593e494f809bbde.tar.xz bukkit-c3a46c9b8db54daf9425d73aa593e494f809bbde.zip |
SPIGOT-1030: Allow commands.yml to act on aliases
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/command/SimpleCommandMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/command/SimpleCommandMap.java b/src/main/java/org/bukkit/command/SimpleCommandMap.java index a229d087..7a4111a3 100644 --- a/src/main/java/org/bukkit/command/SimpleCommandMap.java +++ b/src/main/java/org/bukkit/command/SimpleCommandMap.java @@ -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; } |