summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/update/FMLLibrariesTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/update/FMLLibrariesTask.cpp')
-rw-r--r--api/logic/minecraft/update/FMLLibrariesTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/minecraft/update/FMLLibrariesTask.cpp b/api/logic/minecraft/update/FMLLibrariesTask.cpp
index 63428a48..e64b7a82 100644
--- a/api/logic/minecraft/update/FMLLibrariesTask.cpp
+++ b/api/logic/minecraft/update/FMLLibrariesTask.cpp
@@ -3,7 +3,7 @@
#include <minecraft/VersionFilterData.h>
#include "FMLLibrariesTask.h"
#include "minecraft/MinecraftInstance.h"
-#include "minecraft/MinecraftProfile.h"
+#include "minecraft/ComponentList.h"
FMLLibrariesTask::FMLLibrariesTask(MinecraftInstance * inst)
{
@@ -13,7 +13,7 @@ void FMLLibrariesTask::executeTask()
{
// Get the mod list
MinecraftInstance *inst = (MinecraftInstance *)m_inst;
- std::shared_ptr<MinecraftProfile> profile = inst->getMinecraftProfile();
+ std::shared_ptr<ComponentList> profile = inst->getComponentList();
bool forge_present = false;
if (!profile->hasTrait("legacyFML"))