Bug fixes
- Random infinite game launching process - Input not working on 1.13+ when `Restart before launching game` is enabled.
This commit is contained in:
1 parent
6f7a8a7af2
commit
8575e9f2f6
3 files changed
+3
-5
No files matched your search
@@ -95,10 +95,6 @@ public class PLaunchApp {
|
||||
}
|
||||
UIKit.updateProgressSafe(0, "Selected Minecraft version: " + mcver);
|
||||
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {}
|
||||
|
||||
new File(Tools.DIR_HOME_VERSION + "/" + mcver).mkdirs();
|
||||
|
||||
try {
|
||||
@@ -227,7 +223,6 @@ public class PLaunchApp {
|
||||
}
|
||||
currProgress++;
|
||||
downloaded++;
|
||||
|
||||
});
|
||||
}
|
||||
executor.shutdown();
|
||||
|
||||
@@ -138,6 +138,8 @@ const void * _CGDataProviderGetBytePointerCallbackOSMESA(void *info) {
|
||||
isControlModifiable = NO;
|
||||
|
||||
setPreference(@"internal_selected_account", nil);
|
||||
isUseStackQueueCall = getPreference(@"internal_useStackQueue");
|
||||
setPreference(@"internal_useStackQueue", nil);
|
||||
|
||||
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
|
||||
[self setNeedsUpdateOfScreenEdgesDeferringSystemGestures];
|
||||
|
||||
@@ -130,6 +130,7 @@ void UIKit_launchJarFile(const char* filepath) {
|
||||
}
|
||||
|
||||
void UIKit_launchMinecraftSurfaceVC() {
|
||||
setPreference(@"internal_useStackQueue", @(isUseStackQueueCall ? YES : NO));
|
||||
setPreference(@"internal_selected_account", @(getenv("POJAV_INTERNAL_SELECTED_ACCOUNT")));
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
if ([getPreference(@"restart_before_launch") boolValue]) {
|
||||
|
||||
Reference in new issue
Block a user