Fix always trying to close launcher when game version cannot be obtained

This commit is contained in:
huangyuhui
2018-08-14 00:09:20 +08:00
parent 9e2cb25d01
commit 1bcc79c415

View File

@@ -396,7 +396,7 @@ public final class LauncherHelper {
Platform.runLater(() -> logWindow.logLine(log, level));
}
if (!lwjgl && log.contains("LWJGL Version: ") || !detectWindow) {
if (!lwjgl && (log.contains("LWJGL Version: ") || !detectWindow)) {
lwjgl = true;
switch (visibility) {
case HIDE_AND_REOPEN: