Browse Source

max_stack should be usize

pbs
jake 5 years ago
parent
commit
e0f73cf273
  1. 2
      src/entity/item/tool.rs

2
src/entity/item/tool.rs

@ -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…
Cancel
Save