mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-18 16:46:58 -04:00
Merge pull request #164 from alexytomi/add/sodium-warning
add: Sodium warning to log
This commit is contained in:
@@ -2,6 +2,7 @@ package net.kdt.pojavlaunch;
|
||||
|
||||
import static net.kdt.pojavlaunch.Tools.currentDisplayMetrics;
|
||||
import static net.kdt.pojavlaunch.Tools.dialogForceClose;
|
||||
import static net.kdt.pojavlaunch.Tools.hasMods;
|
||||
import static net.kdt.pojavlaunch.Tools.runMethodbyReflection;
|
||||
import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_ENABLE_GYRO;
|
||||
import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_SUSTAINED_PERFORMANCE;
|
||||
@@ -460,6 +461,8 @@ public class MainActivity extends BaseActivity implements ControlButtonMenuListe
|
||||
} catch (NumberFormatException e) { folder.mkdir(); }
|
||||
|
||||
MinecraftAccount minecraftAccount = PojavProfile.getCurrentProfileContent(this, null);
|
||||
if (hasMods("sodium"))
|
||||
Logger.appendToLog("WARNING: Sodium is being used, Amethyst-Android does NOT support this mod, you are on your own");
|
||||
Logger.appendToLog("--------- Starting game with Launcher Debug!");
|
||||
Tools.printLauncherInfo(versionId, Tools.isValidString(minecraftProfile.javaArgs) ? minecraftProfile.javaArgs : LauncherPreferences.PREF_CUSTOM_JAVA_ARGS);
|
||||
if(Tools.LOCAL_RENDERER.equals("opengles_mobileglues")) {
|
||||
|
||||
Reference in New Issue
Block a user