Attempt to fix crash on #619

This commit is contained in:
Duy Tran Khanh 2021-01-16 17:13:59 +07:00
parent e70958d9a2
commit 1b507bb583

View File

@ -69,7 +69,7 @@ public final class Tools
int mcReleaseDate = Integer.parseInt(versionInfo.releaseTime.substring(0, 10).replace("-", ""));
// 13w17a: 20130425
// 13w18a: 20130502
if (mcReleaseDate < 20130502) {
if (mcReleaseDate < 20130502 && versionInfo.minimumLauncherVersion <= 4){
javaArgList.add("-Djava.awt.headless=false");
// Caciocavallo config