fix the flame loaders match
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
ba07a136dc
commit
f77f0207f7
8 changed files with 52 additions and 31 deletions
|
@ -190,11 +190,8 @@ void V1::updateModIndex(const QDir& index_dir, Mod& mod)
|
|||
}
|
||||
|
||||
toml::array loaders;
|
||||
for (auto loader : { ModPlatform::NeoForge, ModPlatform::Forge, ModPlatform::Cauldron, ModPlatform::LiteLoader, ModPlatform::Fabric,
|
||||
ModPlatform::Quilt }) {
|
||||
if (mod.loaders & loader) {
|
||||
loaders.push_back(getModLoaderAsString(loader).toStdString());
|
||||
}
|
||||
for (auto loader : ModPlatform::modLoaderTypesToList(mod.loaders)) {
|
||||
loaders.push_back(getModLoaderAsString(loader).toStdString());
|
||||
}
|
||||
toml::array mcVersions;
|
||||
for (auto version : mod.mcVersions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue