Make copy of API url to fix bug with multiple mods

This commit is contained in:
comp500 2021-03-12 02:36:20 +00:00 committed by GitHub
parent 94be8addc8
commit 8f9b08e3a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ func getLatestVersion(modID string, pack core.Pack) (Version, error) {
loader := getLoader(pack)
baseUrl := modrinthApiUrlParsed
baseUrl := *modrinthApiUrlParsed
baseUrl.Path += "mod/"
baseUrl.Path += modID
baseUrl.Path += "/version"