aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-05-08 16:25:45 +0200
committerGitHub <noreply@github.com>2022-05-08 16:25:45 +0200
commite9b3140d128b698440711d2a99edc268c545a06a (patch)
treea56b4e51e0d13e64aee7b9d08e322501bce7f56e /launcher
parent22f5128e398f34f01f78751008aca594fa7a7eee (diff)
downloadPrismLauncher-e9b3140d128b698440711d2a99edc268c545a06a.tar.gz
PrismLauncher-e9b3140d128b698440711d2a99edc268c545a06a.tar.bz2
PrismLauncher-e9b3140d128b698440711d2a99edc268c545a06a.zip
Update launcher/modplatform/flame/FlameModIndex.cpp
Diffstat (limited to 'launcher')
-rw-r--r--launcher/modplatform/flame/FlameModIndex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/flame/FlameModIndex.cpp b/launcher/modplatform/flame/FlameModIndex.cpp
index 6334e88c..b23ec7cc 100644
--- a/launcher/modplatform/flame/FlameModIndex.cpp
+++ b/launcher/modplatform/flame/FlameModIndex.cpp
@@ -48,7 +48,7 @@ void FlameMod::loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
for (auto mcVer : versionArray) {
auto str = mcVer.toString();
- if (str.indexOf('.') > -1)
+ if (str.contains('.'))
file.mcVersion.append(mcVer.toString());
}