From 4fa3e2a7144c532af62520c9da53f423d6f002ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 24 Apr 2017 01:30:51 +0200 Subject: GH-1856 Fix metadata version and list loading Shouldn't crash anymore, shouldn't overwrite data in some bad way anymore either. --- api/logic/minecraft/MinecraftProfile.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'api/logic/minecraft/MinecraftProfile.cpp') 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. */ -- cgit v1.2.3