summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2020-06-27 12:02:31 +0200
committerPetr Mrázek <peterix@gmail.com>2020-06-27 12:02:31 +0200
commita0ef20a264656c127dd62eb9140e89a2fda6a8e0 (patch)
tree43b9262f501e9ec835939ec50cc23473e661b291 /api/logic/minecraft/legacy/LegacyUpgradeTask.cpp
parent4ca62916f562ca2d233d0fb4771054a106f1afc3 (diff)
downloadMultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar
MultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar.gz
MultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar.lz
MultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar.xz
MultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.zip
NOISSUE rename ComponentList to PackProfile
It's not just components, so the naming needed cleaning up.
Diffstat (limited to 'api/logic/minecraft/legacy/LegacyUpgradeTask.cpp')
-rw-r--r--api/logic/minecraft/legacy/LegacyUpgradeTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp b/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp
index 9d86a7b5..a4ea60cd 100644
--- a/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp
+++ b/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp
@@ -6,7 +6,7 @@
#include <QtConcurrentRun>
#include "LegacyInstance.h"
#include "minecraft/MinecraftInstance.h"
-#include "minecraft/ComponentList.h"
+#include "minecraft/PackProfile.h"
#include "LegacyModList.h"
#include "classparser.h"
@@ -84,7 +84,7 @@ void LegacyUpgradeTask::copyFinished()
}
}
}
- auto components = inst.getComponentList();
+ auto components = inst.getPackProfile();
components->buildingFromScratch();
components->setComponentVersion("net.minecraft", preferredVersionNumber, true);