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

@@ -32,7 +32,7 @@ public class Main extends IOSApplication.Delegate {
config.useAccelerometer = false;
config.useCompass = false;
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);
final ApplicationListener app = Forge.getApp(new IOSClipboard(), new IOSAdapter(), assetsDir, propertyConfig);
final IOSApplication iosApp = new IOSApplication(app, config);
return iosApp;