diff --git a/module/cmd-server/src/main/java/net/md_5/bungee/module/cmd/server/CommandServer.java b/module/cmd-server/src/main/java/net/md_5/bungee/module/cmd/server/CommandServer.java index a92bc2dd1..36da83e29 100644 --- a/module/cmd-server/src/main/java/net/md_5/bungee/module/cmd/server/CommandServer.java +++ b/module/cmd-server/src/main/java/net/md_5/bungee/module/cmd/server/CommandServer.java @@ -80,7 +80,7 @@ public class CommandServer extends Command implements TabExecutor { return ( args.length > 1 ) ? Collections.EMPTY_LIST : Iterables.transform( Iterables.filter( ProxyServer.getInstance().getServers().values(), new Predicate() { - private final String lower = args[0].toLowerCase(); + private final String lower = ( args.length == 0 ) ? "" : args[0].toLowerCase(); @Override public boolean apply(ServerInfo input)