remove spec limit

This commit is contained in:
Mashy 2021-03-20 12:59:28 +10:00
parent 4c4304e60e
commit f3a5ff6820

View File

@ -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());
}