Merge pull request #4692 from jamierocks/h-4b59804

NOISSUE Apply the Minecraft version correctly
This commit is contained in:
Petr Mrázek 2022-05-17 22:12:51 +02:00 committed by GitHub
commit 3304798aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: