Browse Source

make TechniqueDisk and Tool Copy

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

2
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,

2
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,
}

Loading…
Cancel
Save