From e0f73cf2739e92df8d03d90b791944abeda70a1f Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 30 May 2020 10:28:23 -0600 Subject: [PATCH] max_stack should be usize --- src/entity/item/tool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/item/tool.rs b/src/entity/item/tool.rs index a5a6645..cd9029b 100644 --- a/src/entity/item/tool.rs +++ b/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,