diff --git a/proxy/src/main/java/net/md_5/bungee/command/PlayerCommand.java b/proxy/src/main/java/net/md_5/bungee/command/PlayerCommand.java index a0c9164e..1d41f642 100644 --- a/proxy/src/main/java/net/md_5/bungee/command/PlayerCommand.java +++ b/proxy/src/main/java/net/md_5/bungee/command/PlayerCommand.java @@ -25,13 +25,13 @@ public abstract class PlayerCommand extends Command implements TabExecutor @Override public Iterable onTabComplete(CommandSender sender, String[] args) { - final String lastArg = ( args.length > 0 ) ? args[args.length - 1] : ""; + final String lastArg = ( args.length > 0 ) ? args[args.length - 1].toLowerCase() : ""; return Iterables.transform( Iterables.filter( ProxyServer.getInstance().getPlayers(), new Predicate() { @Override public boolean apply(ProxiedPlayer player) { - return player.getName().startsWith( lastArg ); + return player.getName().toLowerCase().startsWith( lastArg ); } } ), new Function() {