aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame/FlameModIndex.cpp
diff options
context:
space:
mode:
authortimoreo <timo.oreo34@gmail.com>2022-01-18 12:28:55 +0100
committertimoreo <timo.oreo34@gmail.com>2022-01-18 12:28:55 +0100
commitaffc2521aaa282a6ba7f051dd02594500add4e6a (patch)
treec809f9e78b4d32cf07768bff472ebef30199ac1e /launcher/modplatform/flame/FlameModIndex.cpp
parent975f77756d7ffeb94fb14355b622ee850e04bd8b (diff)
downloadPrismLauncher-affc2521aaa282a6ba7f051dd02594500add4e6a.tar.gz
PrismLauncher-affc2521aaa282a6ba7f051dd02594500add4e6a.tar.bz2
PrismLauncher-affc2521aaa282a6ba7f051dd02594500add4e6a.zip
Various fixes
Diffstat (limited to 'launcher/modplatform/flame/FlameModIndex.cpp')
-rw-r--r--launcher/modplatform/flame/FlameModIndex.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/modplatform/flame/FlameModIndex.cpp b/launcher/modplatform/flame/FlameModIndex.cpp
index d298ae83..ca8f7fd7 100644
--- a/launcher/modplatform/flame/FlameModIndex.cpp
+++ b/launcher/modplatform/flame/FlameModIndex.cpp
@@ -76,13 +76,14 @@ void FlameMod::loadIndexedPackVersions(FlameMod::IndexedPack & pack, QJsonArray
break;
}
}else{
+ //this cannot check for the recent mcmod.toml formats
if(fname == "mcmod.info"){
valid = true;
break;
}
}
}
- if(!valid){
+ if(!valid || !hasFabric){
continue;
}