Add option to turn on Experimental Network Compatibility

the user can try to turn on this option to test compatibility, defaults to OFF
This commit is contained in:
Anthony Calosa
2020-04-05 07:14:03 +08:00
parent c714187eee
commit 52307c02d0
8 changed files with 16 additions and 16 deletions

View File

@@ -95,7 +95,7 @@ public class Main {
config.useHDPI = desktopMode; // enable HiDPI on Mac OS
ForgePreferences prefs = FModel.getPreferences();
boolean propertyConfig = prefs != null && prefs.getPrefBoolean(ForgePreferences.FPref.UI_USE_ELSA);
boolean propertyConfig = prefs != null && prefs.getPrefBoolean(ForgePreferences.FPref.UI_NETPLAY_COMPAT);
new LwjglApplication(Forge.getApp(new LwjglClipboard(), new DesktopAdapter(switchOrientationFile),
desktopMode ? desktopModeAssetsDir : assetsDir, propertyConfig), config);
}