From a0ef20a264656c127dd62eb9140e89a2fda6a8e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 27 Jun 2020 12:02:31 +0200 Subject: NOISSUE rename ComponentList to PackProfile It's not just components, so the naming needed cleaning up. --- api/logic/modplatform/legacy_ftb/PackInstallTask.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/logic/modplatform/legacy_ftb/PackInstallTask.cpp') diff --git a/api/logic/modplatform/legacy_ftb/PackInstallTask.cpp b/api/logic/modplatform/legacy_ftb/PackInstallTask.cpp index ea7e2c0c..a3f35154 100644 --- a/api/logic/modplatform/legacy_ftb/PackInstallTask.cpp +++ b/api/logic/modplatform/legacy_ftb/PackInstallTask.cpp @@ -7,7 +7,7 @@ #include "FileSystem.h" #include "settings/INISettingsObject.h" #include "minecraft/MinecraftInstance.h" -#include "minecraft/ComponentList.h" +#include "minecraft/PackProfile.h" #include "minecraft/GradleSpecifier.h" #include "net/URLConstants.h" @@ -125,7 +125,7 @@ void PackInstallTask::install() instanceSettings->set("InstanceType", "OneSix"); MinecraftInstance instance(m_globalSettings, instanceSettings, m_stagingPath); - auto components = instance.getComponentList(); + auto components = instance.getPackProfile(); components->buildingFromScratch(); components->setComponentVersion("net.minecraft", m_pack.mcVersion, true); -- cgit v1.2.3