mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-17 00:04:31 +02:00
Fix Modrinth exports of external files with omitted side field
This commit is contained in:
@@ -45,12 +45,12 @@ type ModOption struct {
|
||||
Default bool `toml:"default,omitempty"`
|
||||
}
|
||||
|
||||
// The three possible values of Side (the side that the mod is on) are "server", "client", and "both".
|
||||
// noinspection GoUnusedConst
|
||||
// The four possible values of Side (the side that the mod is on) are "server", "client", "both", and "" (equivalent to "both")
|
||||
const (
|
||||
ServerSide = "server"
|
||||
ClientSide = "client"
|
||||
UniversalSide = "both"
|
||||
EmptySide = ""
|
||||
)
|
||||
|
||||
// LoadMod attempts to load a mod file from a path
|
||||
|
Reference in New Issue
Block a user