package net.minecraft.client.gui.mco;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.mco.ExceptionMcoService;
import net.minecraft.client.mco.McoClient;
import net.minecraft.client.mco.PendingInvite;

@SideOnly(Side.CLIENT)
class GuiScreenPendingInvitationINNER3 extends Thread
{
    final GuiScreenPendingInvitation field_130131_a;

    GuiScreenPendingInvitationINNER3(GuiScreenPendingInvitation par1GuiScreenPendingInvitation)
    {
        this.field_130131_a = par1GuiScreenPendingInvitation;
    }

    public void run()
    {
        try
        {
            McoClient mcoclient = new McoClient(GuiScreenPendingInvitation.func_130046_h(this.field_130131_a).func_110432_I());
            mcoclient.func_130107_a(((PendingInvite)GuiScreenPendingInvitation.func_130042_e(this.field_130131_a).get(GuiScreenPendingInvitation.func_130049_d(this.field_130131_a))).field_130094_a);
            GuiScreenPendingInvitation.func_130040_f(this.field_130131_a);
        }
        catch (ExceptionMcoService exceptionmcoservice)
        {
            GuiScreenPendingInvitation.func_130055_i(this.field_130131_a).getLogAgent().logSevere(exceptionmcoservice.toString());
        }
    }
}
