NOISSUE Match Vanilla launcher for launch arguments

This commit is contained in:
Jamie Mansfield 2022-05-17 18:43:35 +01:00
parent 3e1939de8e
commit a28adf7b62
No known key found for this signature in database
GPG Key ID: 36F61598F39F67B0

View File

@ -444,9 +444,8 @@ QStringList MinecraftInstance::processMinecraftArgs(
}
}
// blatant self-promotion.
token_mapping["profile_name"] = token_mapping["version_name"] = "MultiMC5";
token_mapping["profile_name"] = name();
token_mapping["version_name"] = profile->getMinecraftVersion();
token_mapping["version_type"] = profile->getMinecraftVersionType();
QString absRootDir = QDir(gameRoot()).absolutePath();