diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-04-24 01:30:51 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-24 01:30:51 +0200 |
commit | 4fa3e2a7144c532af62520c9da53f423d6f002ca (patch) | |
tree | 22af01b94f28c7f6bd56e42d399b1c76887a2fc5 /api/logic/minecraft/MinecraftProfile.cpp | |
parent | d25a7ad3a627dfc15067adb1e2c178faafc5bd3e (diff) | |
download | MultiMC-4fa3e2a7144c532af62520c9da53f423d6f002ca.tar MultiMC-4fa3e2a7144c532af62520c9da53f423d6f002ca.tar.gz MultiMC-4fa3e2a7144c532af62520c9da53f423d6f002ca.tar.lz MultiMC-4fa3e2a7144c532af62520c9da53f423d6f002ca.tar.xz MultiMC-4fa3e2a7144c532af62520c9da53f423d6f002ca.zip |
GH-1856 Fix metadata version and list loading
Shouldn't crash anymore, shouldn't overwrite data in some bad way anymore either.
Diffstat (limited to 'api/logic/minecraft/MinecraftProfile.cpp')
-rw-r--r-- | api/logic/minecraft/MinecraftProfile.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/api/logic/minecraft/MinecraftProfile.cpp b/api/logic/minecraft/MinecraftProfile.cpp index e7e88efd..4c1ab818 100644 --- a/api/logic/minecraft/MinecraftProfile.cpp +++ b/api/logic/minecraft/MinecraftProfile.cpp @@ -385,6 +385,7 @@ bool MinecraftProfile::reapplyPatches() clear(); for(auto file: m_patches) { + qDebug() << "Applying" << file->getID() << (file->getProblemSeverity() == ProblemSeverity::Error ? "ERROR" : "GOOD"); file->applyTo(this); } } @@ -663,11 +664,6 @@ void MinecraftProfile::installJarMods(QStringList selectedFiles) m_strategy->installJarMods(selectedFiles); } -void MinecraftProfile::installVersion(BaseVersionPtr version) -{ - // TODO: implement -} - /* * TODO: get rid of this. Get rid of all order numbers. */ |