aboutsummaryrefslogtreecommitdiff
path: root/api/logic/minecraft/VersionFile.cpp
diff options
context:
space:
mode:
authorOverMighty <its.overmighty@gmail.com>2020-05-04 11:36:41 +0200
committerOverMighty <its.overmighty@gmail.com>2020-05-04 11:36:41 +0200
commit313a6574c15e0cc0fd9bb510609b63905d1c760b (patch)
tree02d108881481f76c6c1dd6faab0cc2b844fcf8de /api/logic/minecraft/VersionFile.cpp
parent381c12547fe91a7392f42337674da390841b39ed (diff)
parent5ca5661c23050d738f1d5f9ced5e7fb71eef3fce (diff)
downloadPrismLauncher-313a6574c15e0cc0fd9bb510609b63905d1c760b.tar.gz
PrismLauncher-313a6574c15e0cc0fd9bb510609b63905d1c760b.tar.bz2
PrismLauncher-313a6574c15e0cc0fd9bb510609b63905d1c760b.zip
chore: pull changes from upstream
Diffstat (limited to 'api/logic/minecraft/VersionFile.cpp')
-rw-r--r--api/logic/minecraft/VersionFile.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/api/logic/minecraft/VersionFile.cpp b/api/logic/minecraft/VersionFile.cpp
index cfb9e504..5bad57e9 100644
--- a/api/logic/minecraft/VersionFile.cpp
+++ b/api/logic/minecraft/VersionFile.cpp
@@ -41,6 +41,10 @@ void VersionFile::applyTo(LaunchProfile *profile)
{
profile->applyLibrary(library);
}
+ for (auto mavenFile : mavenFiles)
+ {
+ profile->applyMavenFile(mavenFile);
+ }
profile->applyProblemSeverity(getProblemSeverity());
}
@@ -53,4 +57,4 @@ void VersionFile::applyTo(LaunchProfile *profile)
throw MinecraftVersionMismatch(uid, dependsOnMinecraftVersion, theirVersion);
}
}
-*/ \ No newline at end of file
+*/