diff --git a/assets/drop_tables.toml b/assets/drop_tables.toml index 26cd69e..bb03d3b 100644 --- a/assets/drop_tables.toml +++ b/assets/drop_tables.toml @@ -8,7 +8,7 @@ drops = [] [rock] drops = [ - { prefab = "Coin", chance_pct = 10, min_count = 1, max_max = 1 }, + { prefab = "Coin", chance_pct = 10, min_count = 1, max_count = 1 }, ] [air] diff --git a/src/entities/item/drop_table.rs b/src/entities/item/drop_table.rs index 7b2d4e7..36b5882 100644 --- a/src/entities/item/drop_table.rs +++ b/src/entities/item/drop_table.rs @@ -67,7 +67,6 @@ struct DropEntryToml { pub prefab: String, pub chance_pct: u8, pub min_count: u8, - #[serde(rename = "max_max")] pub max_count: u8, }