From 17c8f31a09da6bdfc4aa7f67b2ca86b791f2ba96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 4 Nov 2017 22:55:25 +0100 Subject: NOISSUE split out the LaunchProfile out of the ComponentList --- api/logic/minecraft/launch/ModMinecraftJar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api/logic/minecraft/launch') diff --git a/api/logic/minecraft/launch/ModMinecraftJar.cpp b/api/logic/minecraft/launch/ModMinecraftJar.cpp index 14b00447..6407ade0 100644 --- a/api/logic/minecraft/launch/ModMinecraftJar.cpp +++ b/api/logic/minecraft/launch/ModMinecraftJar.cpp @@ -42,7 +42,8 @@ void ModMinecraftJar::executeTask() } // create temporary modded jar, if needed - auto profile = m_inst->getComponentList(); + auto components = m_inst->getComponentList(); + auto profile = components->getProfile(); auto jarMods = m_inst->getJarMods(); if(jarMods.size()) { -- cgit v1.2.3