diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-10-08 20:12:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 20:12:40 +0200 |
commit | fafc9cf9ca86fd66db09e9ccc1cdb53520fd7c16 (patch) | |
tree | 61de3976ba124736c1ad5d10f5d9c8b17537f394 /launcher/minecraft/VersionFile.cpp | |
parent | e436f471a074401be3a48f19eff577c040e9b192 (diff) | |
parent | 3111e6a7212ae914041fce6d851d7662975dc1be (diff) | |
download | PrismLauncher-fafc9cf9ca86fd66db09e9ccc1cdb53520fd7c16.tar.gz PrismLauncher-fafc9cf9ca86fd66db09e9ccc1cdb53520fd7c16.tar.bz2 PrismLauncher-fafc9cf9ca86fd66db09e9ccc1cdb53520fd7c16.zip |
Merge pull request #1033 from Scrumplex/multi-arch-support
Diffstat (limited to 'launcher/minecraft/VersionFile.cpp')
-rw-r--r-- | launcher/minecraft/VersionFile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/launcher/minecraft/VersionFile.cpp b/launcher/minecraft/VersionFile.cpp index a9a0f7f4..76f41600 100644 --- a/launcher/minecraft/VersionFile.cpp +++ b/launcher/minecraft/VersionFile.cpp @@ -51,7 +51,7 @@ static bool isMinecraftVersion(const QString &uid) return uid == "net.minecraft"; } -void VersionFile::applyTo(LaunchProfile *profile) +void VersionFile::applyTo(LaunchProfile *profile, const RuntimeContext & runtimeContext) { // Only real Minecraft can set those. Don't let anything override them. if (isMinecraftVersion(uid)) @@ -77,15 +77,15 @@ void VersionFile::applyTo(LaunchProfile *profile) for (auto library : libraries) { - profile->applyLibrary(library); + profile->applyLibrary(library, runtimeContext); } for (auto mavenFile : mavenFiles) { - profile->applyMavenFile(mavenFile); + profile->applyMavenFile(mavenFile, runtimeContext); } for (auto agent : agents) { - profile->applyAgent(agent); + profile->applyAgent(agent, runtimeContext); } profile->applyProblemSeverity(getProblemSeverity()); } |