Change LaunchTask to only accept MinecraftInstance
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
a200fca45c
commit
909114bf2a
10 changed files with 34 additions and 37 deletions
|
@ -46,7 +46,7 @@
|
|||
|
||||
void VerifyJavaInstall::executeTask()
|
||||
{
|
||||
auto instance = std::dynamic_pointer_cast<MinecraftInstance>(m_parent->instance());
|
||||
auto instance = m_parent->instance();
|
||||
auto packProfile = instance->getPackProfile();
|
||||
auto settings = instance->settings();
|
||||
auto storedVersion = settings->get("JavaVersion").toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue