Fix a NullPointerException when launching ≤ 1.6.4

This commit is contained in:
Duy Tran Khanh 2021-12-14 10:49:32 +07:00 committed by GitHub
parent 9c15455929
commit f2e8ee3422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,9 @@ public final class Tools {
}
*/
if (versionInfo.logging != null) {
javaArgList.add("-Dlog4j.configurationFile=" + Tools.DIR_GAME_NEW + "/" + versionInfo.logging.client.file.id);
}
javaArgList.add("-cp");
javaArgList.add(getLWJGL3ClassPath() + ":" + launchClassPath);