mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-19 01:24:32 +01:00
Import author/version metadata from CurseForge packs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user