mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
#1325 - Fix /server with extra args.
This commit is contained in:
parent
54c9ade1a6
commit
a5f2b423d4
@ -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<ServerInfo>()
|
||||
{
|
||||
private final String lower = args[0].toLowerCase();
|
||||
private final String lower = ( args.length == 0 ) ? "" : args[0].toLowerCase();
|
||||
|
||||
@Override
|
||||
public boolean apply(ServerInfo input)
|
||||
|
Loading…
Reference in New Issue
Block a user