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:
flow 2022-02-27 22:02:43 -03:00
parent 075d900d45
commit 4e8f075ff3
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -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)