diff --git a/src/entity/item/tech.rs b/src/entity/item/tech.rs index 8976904..b7faeaa 100644 --- a/src/entity/item/tech.rs +++ b/src/entity/item/tech.rs @@ -25,7 +25,7 @@ pub enum Technique { } -#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] pub struct TechniqueDisk { pub tech: Technique, pub level: u32, diff --git a/src/entity/item/tool.rs b/src/entity/item/tool.rs index 3583a63..dbde12b 100644 --- a/src/entity/item/tool.rs +++ b/src/entity/item/tool.rs @@ -394,7 +394,7 @@ impl ToolType { } -#[derive(Clone, Debug, PartialEq)] +#[derive(Copy, Clone, Debug, PartialEq)] pub struct Tool { pub tool: ToolType, }