feat: add function to convert
This commit is contained in:
parent
95e3d2d756
commit
9e70732191
|
@ -16,4 +16,11 @@ impl ManifestKind {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn into_mod_pack(self) -> ModPack {
|
||||||
|
match self {
|
||||||
|
Self::V1(mods) => mods.into(),
|
||||||
|
Self::V2(pack) => pack,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue