Update FCLauncher.java

This commit is contained in:
Tungstend 2023-02-27 20:27:08 +08:00
parent 62736bc6f6
commit 7eb0149263
1 changed files with 4 additions and 2 deletions

View File

@ -240,10 +240,12 @@ public class FCLauncher {
bridge.setLogPath(config.getLogDir() + "/latest_game.log");
Thread gameThread = new Thread(() -> {
try {
if (config.getContext().getApplicationInfo().nativeLibraryDir.contains("arm64")){
logStartInfo(bridge, "Minecraft");
// patch linker if using 64 bit device
if (Architecture.is64BitsDevice()) {
bridge.patchLinker();
}
logStartInfo(bridge, "Minecraft");
// env
setEnv(config, bridge, true);