diff options
author | flow <thiagodonato300@gmail.com> | 2022-02-27 22:02:43 -0300 |
---|---|---|
committer | flow <thiagodonato300@gmail.com> | 2022-02-27 22:02:43 -0300 |
commit | 4e8f075ff3c62292e2aff2aa5ddf59aaa18cdf05 (patch) | |
tree | c70bf95cb06dac89b2b6866770fe426811513893 | |
parent | 075d900d45f25475c7fe600d6237f17d5c257d30 (diff) | |
download | PrismLauncher-4e8f075ff3c62292e2aff2aa5ddf59aaa18cdf05.tar.gz PrismLauncher-4e8f075ff3c62292e2aff2aa5ddf59aaa18cdf05.tar.bz2 PrismLauncher-4e8f075ff3c62292e2aff2aa5ddf59aaa18cdf05.zip |
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.
-rw-r--r-- | launcher/modplatform/flame/FlameModIndex.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/launcher/modplatform/flame/FlameModIndex.cpp b/launcher/modplatform/flame/FlameModIndex.cpp index 082ffa57..4adaf5f1 100644 --- a/launcher/modplatform/flame/FlameModIndex.cpp +++ b/launcher/modplatform/flame/FlameModIndex.cpp @@ -81,9 +81,8 @@ void FlameMod::loadIndexedPackVersions(FlameMod::IndexedPack & pack, QJsonArray break; } } - else if(fname == "mcmod.info"){ //this cannot check for the recent mcmod.toml formats - break; - } + else break; + // NOTE: Since we're not validating forge versions, we can just skip this loop. } if(hasFabric && !is_valid_fabric_version) |