mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix syncing amount
This commit is contained in:
@ -207,17 +207,17 @@ pub enum ItemKind {
|
|||||||
Consumable {
|
Consumable {
|
||||||
kind: Consumable,
|
kind: Consumable,
|
||||||
effect: Effect,
|
effect: Effect,
|
||||||
#[serde(skip, default = "default_amount")]
|
#[serde(default = "default_amount")]
|
||||||
amount: u32,
|
amount: u32,
|
||||||
},
|
},
|
||||||
Utility {
|
Utility {
|
||||||
kind: Utility,
|
kind: Utility,
|
||||||
#[serde(skip, default = "default_amount")]
|
#[serde(default = "default_amount")]
|
||||||
amount: u32,
|
amount: u32,
|
||||||
},
|
},
|
||||||
Ingredient {
|
Ingredient {
|
||||||
kind: Ingredient,
|
kind: Ingredient,
|
||||||
#[serde(skip, default = "default_amount")]
|
#[serde(default = "default_amount")]
|
||||||
amount: u32,
|
amount: u32,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user