mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
SPIGOT-1030: Allow commands.yml to act on aliases
By: md_5 <git@md-5.net>
This commit is contained in:
parent
880ba74a11
commit
b54985de63
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue