[FEATURE] Added bit version check at startup

This commit is contained in:
Alexander Bielen
2018-11-27 22:51:03 +01:00
parent 8469746586
commit b072069b05
+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();