max_stack should be usize

This commit is contained in:
jake 2020-05-30 10:28:23 -06:00
parent 3cb5df4577
commit e0f73cf273

View File

@ -218,7 +218,7 @@ impl ToolType {
}
}
pub fn max_stack(&self) -> u8 {
pub fn max_stack(&self) -> usize {
match self {
ToolType::Monomate => 10,
ToolType::Dimate => 10,