Update FCLauncher.java
This commit is contained in:
parent
62736bc6f6
commit
7eb0149263
|
@ -240,10 +240,12 @@ public class FCLauncher {
|
||||||
bridge.setLogPath(config.getLogDir() + "/latest_game.log");
|
bridge.setLogPath(config.getLogDir() + "/latest_game.log");
|
||||||
Thread gameThread = new Thread(() -> {
|
Thread gameThread = new Thread(() -> {
|
||||||
try {
|
try {
|
||||||
if (config.getContext().getApplicationInfo().nativeLibraryDir.contains("arm64")){
|
logStartInfo(bridge, "Minecraft");
|
||||||
|
|
||||||
|
// patch linker if using 64 bit device
|
||||||
|
if (Architecture.is64BitsDevice()) {
|
||||||
bridge.patchLinker();
|
bridge.patchLinker();
|
||||||
}
|
}
|
||||||
logStartInfo(bridge, "Minecraft");
|
|
||||||
|
|
||||||
// env
|
// env
|
||||||
setEnv(config, bridge, true);
|
setEnv(config, bridge, true);
|
||||||
|
|
Loading…
Reference in New Issue