mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Merge pull request #291 from AlexanderBielen/issue-272/warn-wrong-version
Added bit version check at startup
This commit is contained in:
@@ -35,6 +35,11 @@ public final class Landing {
|
|||||||
System.exit(0);
|
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);
|
parseArgs(args);
|
||||||
|
|
||||||
Directories.validate();
|
Directories.validate();
|
||||||
|
|||||||
Reference in New Issue
Block a user