Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Fix that old forge was checking version as an object
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGravyBoat committed Jul 29, 2023
1 parent e37f9d5 commit a56c61b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/infer.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ export const inferVersionInfo = async function (rawFile, project, gameVersions)
version_number: metadata.version,
version_type: versionType(metadata.version),
loaders: ['forge'],
game_versions: simplifiedGameVersions.filter((x) =>
x.version.startsWith(metadata.mcversion)
game_versions: simplifiedGameVersions.filter((version) =>
version.startsWith(metadata.mcversion)
),
}
},
Expand Down

0 comments on commit a56c61b

Please sign in to comment.