ModConfig add ID
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user