Fix modpack env field being required (#270)
This commit is contained in:
parent
9e9d6e45b4
commit
b2ef4e9619
@ -27,7 +27,7 @@ pub struct PackFormat<'a> {
|
||||
pub struct PackFile<'a> {
|
||||
pub path: &'a str,
|
||||
pub hashes: std::collections::HashMap<FileHash, &'a str>,
|
||||
pub env: std::collections::HashMap<EnvType, SideType>,
|
||||
pub env: Option<std::collections::HashMap<EnvType, SideType>>,
|
||||
#[validate(custom(function = "validate_download_url"))]
|
||||
pub downloads: Vec<&'a str>,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user