mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-24 17:44:32 +02:00
Make copy of API url to fix bug with multiple mods
This commit is contained in:
@@ -159,7 +159,7 @@ func getLatestVersion(modID string, pack core.Pack) (Version, error) {
|
|||||||
|
|
||||||
loader := getLoader(pack)
|
loader := getLoader(pack)
|
||||||
|
|
||||||
baseUrl := modrinthApiUrlParsed
|
baseUrl := *modrinthApiUrlParsed
|
||||||
baseUrl.Path += "mod/"
|
baseUrl.Path += "mod/"
|
||||||
baseUrl.Path += modID
|
baseUrl.Path += modID
|
||||||
baseUrl.Path += "/version"
|
baseUrl.Path += "/version"
|
||||||
|
|||||||
Reference in New Issue
Block a user