From f3a5ff6820f93d35a6a7f7ec0237cf8b34ed9d2b Mon Sep 17 00:00:00 2001 From: Mashy Date: Sat, 20 Mar 2021 12:59:28 +1000 Subject: [PATCH] remove spec limit --- core/src/construct.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/construct.rs b/core/src/construct.rs index 3703e74c..9dccc33d 100644 --- a/core/src/construct.rs +++ b/core/src/construct.rs @@ -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()); }