diff --git a/server/src/vbox.rs b/server/src/vbox.rs index 8df14c6d..a419a6f1 100644 --- a/server/src/vbox.rs +++ b/server/src/vbox.rs @@ -100,7 +100,7 @@ impl Vbox { } pub fn accept(&mut self, i: usize, j: usize, construct_id: Option) -> Result<&mut Vbox, Error> { - if self.bound.len() >= 9 && !construct_id.is_some() { + if self.bound.len() >= 4 && !construct_id.is_some() { return Err(err_msg("too many items bound")); } @@ -171,7 +171,7 @@ impl Vbox { self.bound.push(combo.item); // self.bound.sort_unstable(); - if self.bound.len() >= 10 { + if self.bound.len() >= 5 { return Err(err_msg("too many items bound")); } Ok(self)