Import author/version metadata from CurseForge packs

This commit is contained in:
comp500
2022-02-10 16:32:55 +00:00
parent f41235b04c
commit 226a376be9
4 changed files with 21 additions and 2 deletions

View File

@@ -31,6 +31,14 @@ func (c cursePackMeta) Name() string {
return c.NameInternal
}
func (c cursePackMeta) PackVersion() string {
return c.Version
}
func (c cursePackMeta) PackAuthor() string {
return c.Author
}
func (c cursePackMeta) Versions() map[string]string {
vers := make(map[string]string)
vers["minecraft"] = c.Minecraft.Version