remove spec limit
This commit is contained in:
parent
4c4304e60e
commit
f3a5ff6820
@ -309,10 +309,6 @@ impl Construct {
|
||||
}
|
||||
|
||||
pub fn spec_add(&mut self, spec: Spec) -> Result<&mut Construct, Error> {
|
||||
if self.specs.len() >= 3 {
|
||||
return Err(err_msg("maximum specs equipped"));
|
||||
}
|
||||
|
||||
self.specs.push(spec);
|
||||
return Ok(self.calculate_colours());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user