Update launcher/modplatform/flame/FlameModIndex.cpp

This commit is contained in:
Sefa Eyeoglu 2022-05-08 16:25:45 +02:00 committed by GitHub
parent 22f5128e39
commit e9b3140d12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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());
}