This commit is contained in:
Duy Tran Khanh committed 2021-01-03 17:44:29 +07:00
1 parent f518b22900
commit 4d29009ead
1 file changed
+6 -2
@@ -26,7 +26,7 @@ public class PLaunchApp {
LauncherPreferences.loadPreferences();
}
public static void launchMinecraft() throws Throwable {
public static void launchMinecraft() {
System.out.println("Saving GLES context");
JREUtils.saveGLContext();
@@ -116,7 +116,11 @@ public class PLaunchApp {
}
System.out.println("Launching Minecraft " + mcver);
Tools.launchMinecraft(acc, verInfo);
try {
Tools.launchMinecraft(acc, verInfo);
} catch (Throwable th) {
throw new RuntimeException(th);
}
}
private static JMinecraftVersionList.Version findVersion(String version) {