fix: Do not loop when its not a fabric mod on Flame version validation
Since there's no validation for forge mods since the start, we were just looping with no porpuse in this situation.
This commit is contained in:
parent
075d900d45
commit
4e8f075ff3
@ -81,9 +81,8 @@ void FlameMod::loadIndexedPackVersions(FlameMod::IndexedPack & pack, QJsonArray
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(fname == "mcmod.info"){ //this cannot check for the recent mcmod.toml formats
|
else break;
|
||||||
break;
|
// NOTE: Since we're not validating forge versions, we can just skip this loop.
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(hasFabric && !is_valid_fabric_version)
|
if(hasFabric && !is_valid_fabric_version)
|
||||||
|
Loading…
Reference in New Issue
Block a user