mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-15 07:24:32 +02:00
Clean up code, filter version numbers for NeoForge as well as Forge
NeoForge doesn't seem to have an update checker JSON yet, so we can't determine the recommended version
This commit is contained in:
@@ -102,7 +102,7 @@ var initCmd = &cobra.Command{
|
||||
}
|
||||
}
|
||||
v := componentVersion
|
||||
if loader.Name == "forge" {
|
||||
if loader.Name == "forge" || loader.Name == "neoforge" {
|
||||
v = cmdshared.GetRawForgeVersion(componentVersion)
|
||||
}
|
||||
if !slices.Contains(versions, v) {
|
||||
|
Reference in New Issue
Block a user