Merge pull request #291 from AlexanderBielen/issue-272/warn-wrong-version

Added bit version check at startup
This commit is contained in:
Jeroen Ketelaar
2018-11-27 18:14:28 -06:00
committed by GitHub
+5
View File
@@ -35,6 +35,11 @@ public final class Landing {
System.exit(0);
}
if(!System.getProperty("os.arch").contains("64")) {
UILog.log("Parabot", "You are not running a 64-bit version of Java, this might cause the client to lag or crash unexpectedly.\r\n" +
"It's recommended to upgrade to a 64-bit version.");
}
parseArgs(args);
Directories.validate();