diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-19 08:40:28 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-19 08:49:27 +0200 |
commit | 943090db98dbbe969afed8a4fb59f4bbb43449cc (patch) | |
tree | 3a93a9c6d8bd073dcbdbc4ce2866d4903bff2263 /launcher/ui/pages/instance | |
parent | 77caaca50dab7ba8e455d641ac6b448052bc6799 (diff) | |
download | PrismLauncher-943090db98dbbe969afed8a4fb59f4bbb43449cc.tar.gz PrismLauncher-943090db98dbbe969afed8a4fb59f4bbb43449cc.tar.bz2 PrismLauncher-943090db98dbbe969afed8a4fb59f4bbb43449cc.zip |
refactor: allow tracking multiple mod loaders
Diffstat (limited to 'launcher/ui/pages/instance')
-rw-r--r-- | launcher/ui/pages/instance/ModFolderPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/instance/ModFolderPage.cpp b/launcher/ui/pages/instance/ModFolderPage.cpp index 8113fe85..5574f9d2 100644 --- a/launcher/ui/pages/instance/ModFolderPage.cpp +++ b/launcher/ui/pages/instance/ModFolderPage.cpp @@ -391,7 +391,7 @@ void ModFolderPage::on_actionInstall_mods_triggered() return; //this is a null instance or a legacy instance } auto profile = ((MinecraftInstance *)m_inst)->getPackProfile(); - if (profile->getModLoader() == ModAPI::Unspecified) { + if (profile->getModLoaders() == ModAPI::Unspecified) { QMessageBox::critical(this,tr("Error"),tr("Please install a mod loader first!")); return; } |