From 1a9793197fadaa25520e2cbb7f5d26e23eca2572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 28 Feb 2016 19:33:05 +0100 Subject: GH-1502 move launch script generation to the Minecraft launch step --- logic/launch/steps/LaunchMinecraft.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'logic/launch/steps/LaunchMinecraft.cpp') diff --git a/logic/launch/steps/LaunchMinecraft.cpp b/logic/launch/steps/LaunchMinecraft.cpp index b0fe056f..77a89f17 100644 --- a/logic/launch/steps/LaunchMinecraft.cpp +++ b/logic/launch/steps/LaunchMinecraft.cpp @@ -29,6 +29,9 @@ void LaunchMinecraft::executeTask() { auto instance = m_parent->instance(); std::shared_ptr minecraftInstance = std::dynamic_pointer_cast(instance); + + m_launchScript = minecraftInstance->createLaunchScript(m_session); + QStringList args = minecraftInstance->javaArguments(); // HACK: this is a workaround for MCL-3732 - 'server-resource-packs' is created. -- cgit v1.2.3