fix android - pc network (disables elsa atm, needs investigation since this work before)

This commit is contained in:
Anthony Calosa
2020-04-03 12:53:43 +08:00
parent c9c4d5492d
commit fa93702bc8
3 changed files with 3 additions and 3 deletions

View File

@@ -218,7 +218,7 @@ public class Main extends AndroidApplication {
} }
initialize(Forge.getApp(new AndroidClipboard(), adapter, assetsDir, Build.VERSION.SDK_INT >= 26)); initialize(Forge.getApp(new AndroidClipboard(), adapter, assetsDir, false));
} }
/*@Override /*@Override

View File

@@ -50,7 +50,7 @@ public final class Main {
GuiBase.setInterface(new GuiDesktop()); GuiBase.setInterface(new GuiDesktop());
//set PropertyConfig log4j to true //set PropertyConfig log4j to true
GuiBase.enablePropertyConfig(true); GuiBase.enablePropertyConfig(false);
//install our error handler //install our error handler
ExceptionHandler.registerErrorHandling(); ExceptionHandler.registerErrorHandling();

View File

@@ -93,7 +93,7 @@ public class Main {
config.useHDPI = desktopMode; // enable HiDPI on Mac OS config.useHDPI = desktopMode; // enable HiDPI on Mac OS
new LwjglApplication(Forge.getApp(new LwjglClipboard(), new DesktopAdapter(switchOrientationFile), new LwjglApplication(Forge.getApp(new LwjglClipboard(), new DesktopAdapter(switchOrientationFile),
desktopMode ? desktopModeAssetsDir : assetsDir, true), config); desktopMode ? desktopModeAssetsDir : assetsDir, false), config);
} }
private static class DesktopAdapter implements IDeviceAdapter { private static class DesktopAdapter implements IDeviceAdapter {