summaryrefslogtreecommitdiffstats
path: root/logic/launch
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-07-21 09:21:59 +0200
committerPetr Mrázek <peterix@gmail.com>2015-07-21 09:21:59 +0200
commit2fc18921b04536285ad82e49d61faaeb599c6d46 (patch)
treee9d91fdd758767b4e092d087e24da40b6aa4c62c /logic/launch
parent61c5a67777a6f7639c9d2f36b14f7a903bdfc5a0 (diff)
downloadMultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.tar
MultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.tar.gz
MultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.tar.lz
MultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.tar.xz
MultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.zip
GH-1053 add launch step creation to legacy instances
Diffstat (limited to 'logic/launch')
-rw-r--r--logic/launch/steps/LaunchCommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/launch/steps/LaunchCommand.cpp b/logic/launch/steps/LaunchCommand.cpp
index 8b133dea..2cbb3785 100644
--- a/logic/launch/steps/LaunchCommand.cpp
+++ b/logic/launch/steps/LaunchCommand.cpp
@@ -27,7 +27,7 @@ LaunchCommand::LaunchCommand(LaunchTask *parent) : LaunchStep(parent)
void LaunchCommand::executeTask()
{
auto instance = m_parent->instance();
- std::shared_ptr<MinecraftInstance> minecraftInstance = std::dynamic_pointer_cast<OneSixInstance>(instance);
+ std::shared_ptr<MinecraftInstance> minecraftInstance = std::dynamic_pointer_cast<MinecraftInstance>(instance);
QStringList args = minecraftInstance->javaArguments();
QString allArgs = args.join(", ");