From 48adf3ffb133886a3c9b587bee174fa9f09118bc Mon Sep 17 00:00:00 2001 From: comp500 Date: Thu, 30 Sep 2021 22:48:45 +0100 Subject: [PATCH] Comment out Dependencies field for Modrinth versions (fixes #56) --- modrinth/modrinth.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modrinth/modrinth.go b/modrinth/modrinth.go index 3ca98f5..710c192 100644 --- a/modrinth/modrinth.go +++ b/modrinth/modrinth.go @@ -104,9 +104,9 @@ type Version struct { Downloads int `json:"downloads"` //The number of downloads this specific version has VersionType string `json:"version_type"` //The type of the release - alpha, beta, or release Files []VersionFile `json:"files"` //A list of files available for download for this version - Dependencies []string `json:"dependencies"` //A list of specific versions of mods that this version depends on - GameVersions []string `json:"game_versions"` //A list of versions of Minecraft that this version of the mod supports - Loaders []string `json:"loaders"` //The mod loaders that this version supports + //Dependencies []string `json:"dependencies"` //A list of specific versions of mods that this version depends on + GameVersions []string `json:"game_versions"` //A list of versions of Minecraft that this version of the mod supports + Loaders []string `json:"loaders"` //The mod loaders that this version supports } type VersionFile struct {