[ANY] Фикс флага

Он был добавлен в 1.13
This commit is contained in:
Andrew Molchanov 2020-06-10 05:10:29 +03:00
parent 1575190e74
commit e5225c4129
No known key found for this signature in database
GPG key ID: 7C75AA362C5C27FC

View file

@ -231,7 +231,7 @@ private static void addClientArgs(Collection<String> args, ClientProfile profile
Collections.addAll(args, "--versionType", "Launcher v" + Version.getVersion().getVersionString());
// Fix `-XstartOnFirstThread` in MacOS
if (version.compareTo(ClientProfile.Version.MC114) >= 0 && JVMHelper.OS_TYPE == OS.MACOSX)
if (version.compareTo(ClientProfile.Version.MC113) >= 0 && JVMHelper.OS_TYPE == OS.MACOSX)
Collections.addAll(args, "-XstartOnFirstThread");
// Add server args