summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/update/LibrariesTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/update/LibrariesTask.cpp')
-rw-r--r--api/logic/minecraft/update/LibrariesTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/minecraft/update/LibrariesTask.cpp b/api/logic/minecraft/update/LibrariesTask.cpp
index a000f77f..7f66a651 100644
--- a/api/logic/minecraft/update/LibrariesTask.cpp
+++ b/api/logic/minecraft/update/LibrariesTask.cpp
@@ -1,7 +1,7 @@
#include "Env.h"
#include "LibrariesTask.h"
#include "minecraft/MinecraftInstance.h"
-#include "minecraft/ComponentList.h"
+#include "minecraft/PackProfile.h"
LibrariesTask::LibrariesTask(MinecraftInstance * inst)
{
@@ -15,7 +15,7 @@ void LibrariesTask::executeTask()
MinecraftInstance *inst = (MinecraftInstance *)m_inst;
// Build a list of URLs that will need to be downloaded.
- auto components = inst->getComponentList();
+ auto components = inst->getPackProfile();
auto profile = components->getProfile();
auto job = new NetJob(tr("Libraries for instance %1").arg(inst->name()));