NOISSUE Apply the Minecraft version correctly

It was previously using a deprecated field.
This commit is contained in:
Jamie Mansfield 2022-05-17 21:03:15 +01:00
parent 585c93fd7f
commit 78003c5eed
No known key found for this signature in database
GPG Key ID: 36F61598F39F67B0

View File

@ -20,7 +20,7 @@ void VersionFile::applyTo(LaunchProfile *profile)
// Only real Minecraft can set those. Don't let anything override them.
if (isMinecraftVersion(uid))
{
profile->applyMinecraftVersion(minecraftVersion);
profile->applyMinecraftVersion(version);
profile->applyMinecraftVersionType(type);
// HACK: ignore assets from other version files than Minecraft
// workaround for stupid assets issue caused by amazon: