From b54985de636a8bdc607b497699dcbff1e6ccd500 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 25 Jun 2016 21:34:11 +1000 Subject: [PATCH] SPIGOT-1030: Allow commands.yml to act on aliases By: md_5 --- .../src/main/java/org/bukkit/command/SimpleCommandMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/command/SimpleCommandMap.java b/paper-api/src/main/java/org/bukkit/command/SimpleCommandMap.java index a229d0870f..7a4111a3e7 100644 --- a/paper-api/src/main/java/org/bukkit/command/SimpleCommandMap.java +++ b/paper-api/src/main/java/org/bukkit/command/SimpleCommandMap.java @@ -222,7 +222,7 @@ public class SimpleCommandMap implements CommandMap { Map 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; }