fix: Моды запускаются в потоке ядра
This commit is contained in:
@@ -124,11 +124,7 @@ public class NativeCallback {
|
|||||||
UIUtils.initialize(UIUtils.getContext());
|
UIUtils.initialize(UIUtils.getContext());
|
||||||
|
|
||||||
AsyncModLauncher modLauncher = new AsyncModLauncher();
|
AsyncModLauncher modLauncher = new AsyncModLauncher();
|
||||||
if (InnerCoreConfig.getBool("disable_loading_screen")) {
|
modLauncher.launchModsInCurrentThread();
|
||||||
modLauncher.launchModsInCurrentThread();
|
|
||||||
} else {
|
|
||||||
modLauncher.launchModsInThread();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void onMinecraftAppSuspended() {
|
public static void onMinecraftAppSuspended() {
|
||||||
|
|||||||
Reference in New Issue
Block a user