diff options
Diffstat (limited to 'logic/minecraft/OneSixInstance.cpp')
-rw-r--r-- | logic/minecraft/OneSixInstance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/minecraft/OneSixInstance.cpp b/logic/minecraft/OneSixInstance.cpp index 9a7ef99b..6cea55d2 100644 --- a/logic/minecraft/OneSixInstance.cpp +++ b/logic/minecraft/OneSixInstance.cpp @@ -29,6 +29,7 @@ #include <launch/steps/PostLaunchCommand.h> #include <launch/steps/TextPrint.h> #include <launch/steps/ModMinecraftJar.h> +#include <launch/steps/CheckJava.h> #include "minecraft/OneSixProfileStrategy.h" #include "MMCZip.h" @@ -243,6 +244,10 @@ std::shared_ptr<LaunchTask> OneSixInstance::createLaunchTask(AuthSessionPtr sess { process->appendStep(std::make_shared<TextPrint>(pptr, "Minecraft folder is:\n" + minecraftRoot() + "\n\n", MessageLevel::MultiMC)); } + { + auto step = std::make_shared<CheckJava>(pptr); + process->appendStep(step); + } // run pre-launch command if that's needed if(getPreLaunchCommand().size()) { |