public List func_71558_b(ICommandSender par1ICommandSender, String par2Str)
    {
        String as[] = par2Str.split(" ", -1);
        String s = as[0];

        if (as.length == 1)
        {
            ArrayList arraylist = new ArrayList();
            Iterator iterator = field_71562_a.entrySet().iterator();

            do
            {
                if (!iterator.hasNext())
                {
                    break;
                }

                java.util.Map.Entry entry = (java.util.Map.Entry)iterator.next();

                if (CommandBase.func_71523_a(s, (String)entry.getKey()) && ((ICommand)entry.getValue()).func_71519_b(par1ICommandSender))
                {
                    arraylist.add(entry.getKey());
                }
            }
            while (true);

            return arraylist;
        }

        if (as.length > 1)
        {
            ICommand icommand = (ICommand)field_71562_a.get(s);

            if (icommand != null)
            {
                return icommand.func_71516_a(par1ICommandSender, func_71559_a(as));
            }
        }

        return null;
    }