mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-19 01:24:32 +01:00
Check if download URL is null instead of allowModDistribution; fixes issue with null values for latter
This commit is contained in:
@@ -145,9 +145,8 @@ type modInfo struct {
|
||||
FileType int `json:"releaseType"`
|
||||
Modloader int `json:"modLoader"`
|
||||
} `json:"latestFilesIndexes"`
|
||||
ModLoaders []string `json:"modLoaders"`
|
||||
AllowModDistribution bool `json:"allowModDistribution"`
|
||||
Links struct {
|
||||
ModLoaders []string `json:"modLoaders"`
|
||||
Links struct {
|
||||
WebsiteURL string `json:"websiteUrl"`
|
||||
} `json:"links"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user