public void confirmClicked(boolean par1, int par2) { if (par1 && par2 == 12) { ISaveFormat isaveformat = mc.getSaveLoader(); isaveformat.flushCache(); isaveformat.deleteWorldDirectory("Demo_World"); mc.displayGuiScreen(this); } else if (par2 == 13) { if (par1) { try { Class class1 = Class.forName("java.awt.Desktop"); Object obj = class1.getMethod("getDesktop", new Class[0]).invoke(null, new Object[0]); class1 .getMethod("browse", new Class[] {java.net.URI.class}) .invoke(obj, new Object[] {new URI(field_104024_v)}); } catch (Throwable throwable) { throwable.printStackTrace(); } } mc.displayGuiScreen(this); } }