GH-3764 Only install client mods for ATLauncher packs

This commit is contained in:
Jamie Mansfield
2021-05-06 17:14:49 +01:00
parent 438ddfb88d
commit df7873eb9a
3 changed files with 5 additions and 0 deletions

View File

@ -462,6 +462,9 @@ void PackInstallTask::downloadMods()
jarmods.clear();
jobPtr.reset(new NetJob(tr("Mod download")));
for(const auto& mod : m_version.mods) {
// skip non-client mods
if (!mod.client) continue;
// skip optional mods for now
if(mod.optional) continue;