fix: fix Modrinth query when Quilt is in use

This commit is contained in:
Sefa Eyeoglu
2022-04-18 13:12:42 +02:00
parent 56ce7f5dcd
commit fcdc7a1a35
7 changed files with 57 additions and 25 deletions

View File

@ -61,9 +61,9 @@ FlameModPage::FlameModPage(ModDownloadDialog* dialog, BaseInstance* instance)
connect(ui->modSelectionButton, &QPushButton::clicked, this, &FlameModPage::onModSelected);
}
auto FlameModPage::validateVersion(ModPlatform::IndexedVersion& ver, QString mineVer, QString loaderVer) const -> bool
auto FlameModPage::validateVersion(ModPlatform::IndexedVersion& ver, QString mineVer, ModAPI::ModLoaderType loader) const -> bool
{
(void) loaderVer;
Q_UNUSED(loader);
return ver.mcVersion.contains(mineVer);
}