added support for modpack defined in version descriptor
This commit is contained in:
@@ -26,7 +26,7 @@ public class GameVersionCatalog
|
||||
_ => p.OtherTypeAllowed
|
||||
};
|
||||
if(match)
|
||||
_versionPropsList.Add(new GameVersionProps(r.id, r.url));
|
||||
_versionPropsList.Add(new GameVersionProps(r));
|
||||
}
|
||||
return _versionPropsList;
|
||||
}
|
||||
|
||||
@@ -17,6 +17,9 @@ public class GameVersionDescriptor
|
||||
public JavaVersion javaVersion { get; set; } = new() { component = "jre-legacy", majorVersion = 8 };
|
||||
public string? minecraftArguments { get; set; }
|
||||
public ArgumentsNew? arguments { get; set; }
|
||||
|
||||
// my additions
|
||||
public MyModpackRemoteProps? modpack { get; set; }
|
||||
}
|
||||
|
||||
public class Artifact
|
||||
|
||||
Reference in New Issue
Block a user