Actually write mod files

but aaa it doesn't use the struct tags properly so things are bad
This commit is contained in:
comp500
2019-05-11 14:32:14 +01:00
parent 3fdac51d22
commit ef98591d02
4 changed files with 100 additions and 36 deletions

View File

@@ -94,7 +94,7 @@ func (pack Pack) Write() error {
func (pack Pack) GetMCVersion() (string, error) {
mcVersion, ok := pack.Versions["minecraft"]
if !ok {
return "", errors.New("No Minecraft version specified in modpack!")
return "", errors.New("no minecraft version specified in modpack")
}
return mcVersion, nil
}