Merge pull request #2322 from PrismLauncher/backport-2319-to-release-8.x

[Backport release-8.x] Support mod info for NeoForge 20.5
This commit is contained in:
Alexandru Ionut Tripon 2024-04-20 12:04:47 +03:00 committed by GitHub
commit 64797b8bff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -469,7 +469,7 @@ bool processZIP(Mod& mod, [[maybe_unused]] ProcessingLevel level)
QuaZipFile file(&zip); QuaZipFile file(&zip);
if (zip.setCurrentFile("META-INF/mods.toml")) { if (zip.setCurrentFile("META-INF/mods.toml") || zip.setCurrentFile("META-INF/neoforge.mods.toml")) {
if (!file.open(QIODevice::ReadOnly)) { if (!file.open(QIODevice::ReadOnly)) {
zip.close(); zip.close();
return false; return false;