Fix lwjgl3 install check

This commit is contained in:
khanhduytran0 2020-09-24 20:18:22 +07:00
parent aed45b5754
commit 4fe4edc4eb

View File

@ -864,7 +864,7 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
appendlnToLog("--------- beggining with launcher debug");
File lwjgl3dir = new File(Tools.MAIN_PATH, "lwjgl3");
if (!lwjgl3dir.exists() || lwjgl3dir.isFile() || lwjgl3dir.length() == 0) {
if (!lwjgl3dir.exists() || lwjgl3dir.isFile()) {
appendlnToLog("Error: LWJGL3 is not installed!");
Tools.showError(this, new Throwable("LWJGL3 is not installed!"), true);
return;