ModConfig add ID

This commit is contained in:
2026-03-11 23:49:48 +01:00
parent 6a60e29fd7
commit 1199d40b31

View File

@@ -33,6 +33,11 @@ impl ModConfig {
}
}
pub fn add_id(mut self, id: &str) -> Self {
self.id = id.to_owned();
self
}
pub fn id(&self) -> &str {
&self.id
}