From fede712a26937c5c0815cb9ed62320a8611794eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 11 Oct 2017 23:04:24 +0200 Subject: NOISSUE rename MinecraftProfile to ComponentList It is realistically a list of components. The fact that it also holds the final launch parameters is a design bug. --- api/logic/minecraft/legacy/LegacyUpgradeTask.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/logic/minecraft/legacy/LegacyUpgradeTask.cpp') diff --git a/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp b/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp index e41d87cb..fab48005 100644 --- a/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp +++ b/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp @@ -7,7 +7,7 @@ #include #include "LegacyInstance.h" #include "minecraft/MinecraftInstance.h" -#include "minecraft/MinecraftProfile.h" +#include "minecraft/ComponentList.h" #include "classparser.h" LegacyUpgradeTask::LegacyUpgradeTask(SettingsObjectPtr settings, const QString & stagingPath, InstancePtr origInstance, const QString & newName) @@ -90,7 +90,7 @@ void LegacyUpgradeTask::copyFinished() // BUG: reloadProfile should not be necessary, but setComponentVersion voids the profile created by init()! inst->reloadProfile(); - auto profile = inst->getMinecraftProfile(); + auto profile = inst->getComponentList(); if(legacyInst->shouldUseCustomBaseJar()) { -- cgit v1.2.3