public void confirmClicked(boolean par1, int par2) { if (par1 && par2 == 12) { ISaveFormat var3 = this.mc.getSaveLoader(); var3.flushCache(); var3.deleteWorldDirectory("Demo_World"); this.mc.displayGuiScreen(this); } }
public void confirmClicked(boolean par1, int par2) { if (deleting) { deleting = false; if (par1) { ISaveFormat isaveformat = mc.getSaveLoader(); isaveformat.flushCache(); isaveformat.deleteWorldDirectory(getSaveFileName(par2)); loadSaves(); } mc.displayGuiScreen(this); } }
public void confirmClicked(boolean par1, int par2) { if (par1 && par2 == 12) { ISaveFormat var6 = this.mc.getSaveLoader(); var6.flushCache(); var6.deleteWorldDirectory("Demo_World"); this.mc.displayGuiScreen(this); } else if (par2 == 13) { if (par1) { try { Class var3 = Class.forName("java.awt.Desktop"); Object var4 = var3.getMethod("getDesktop", new Class[0]).invoke((Object) null, new Object[0]); var3.getMethod("browse", new Class[] {URI.class}) .invoke(var4, new Object[] {new URI("http://tinyurl.com/javappc")}); } catch (Throwable var5) { var5.printStackTrace(); } } this.mc.displayGuiScreen(this); } }
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); } }