Fix jail check not tab completing online names
This commit is contained in:
		@@ -55,8 +55,9 @@ public class JailCheckCommand implements Command {
 | 
			
		||||
        
 | 
			
		||||
        Collections.sort(results);
 | 
			
		||||
        
 | 
			
		||||
        if(args.length == 1)
 | 
			
		||||
        if(args.length == 2)
 | 
			
		||||
            for(Player p : jm.getPlugin().getServer().getOnlinePlayers())
 | 
			
		||||
                if(args[1].isEmpty() || StringUtil.startsWithIgnoreCase(p.getName(), args[1]))
 | 
			
		||||
                    if(!results.contains(p.getName()))
 | 
			
		||||
                        results.add(p.getName());
 | 
			
		||||
        
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user