private void func_98063_a(long par1) {
    McoClient var3 = new McoClient(this.mc.session);

    try {
      ValueObjectSubscription var4 = var3.func_98177_f(par1);
      this.field_98068_n = var4.field_98170_b;
      this.field_98069_o = this.func_98062_b(var4.field_98171_a);
    } catch (ExceptionMcoService var5) {;
    } catch (IOException var6) {;
    }
  }
Exemplo n.º 2
0
  private void func_140005_i() {
    McoClient mcoclient = new McoClient(mc.func_110432_I());

    try {
      if (mcoclient.func_140054_c().booleanValue()) {
        mc.displayGuiScreen(new GuiScreenClientOutdated(this));
      } else {
        mc.displayGuiScreen(new GuiScreenOnlineServers(this));
      }
    } catch (ExceptionMcoService exceptionmcoservice) {
      mc.getLogAgent().logSevere(exceptionmcoservice.toString());
    } catch (IOException ioexception) {
      mc.getLogAgent().logSevere(ioexception.getLocalizedMessage());
    }
  }
  public void run() {
    String var1 = StringTranslate.func_74808_a().func_74805_b("mco.create.world.wait");
    this.func_96576_b(var1);
    McoClient var2 =
        new McoClient(GuiScreenCreateOnlineWorld.func_98099_d(this.field_96590_a).field_71449_j);

    try {
      var2.func_96386_a(this.field_96589_c, this.field_96587_d, this.field_96588_e);
      GuiScreenCreateOnlineWorld.func_96246_c(this.field_96590_a)
          .func_71373_a(GuiScreenCreateOnlineWorld.func_96247_b(this.field_96590_a));
    } catch (ExceptionMcoService var4) {
      this.func_96575_a(var4.field_96391_b);
    } catch (UnsupportedEncodingException var5) {;
    } catch (IOException var6) {;
    } catch (Exception var7) {
      this.func_96575_a("Failed");
    }
  }