feat: add function to convert
This commit is contained in:
parent
5d03170539
commit
6a5ec012ee
|
@ -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