max_stack should be usize
This commit is contained in:
parent
3cb5df4577
commit
e0f73cf273
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user