From 2622144cdf830a8f6911fdca5935c58a02b0e884 Mon Sep 17 00:00:00 2001 From: popertots Date: Sat, 21 Mar 2026 17:09:32 +0000 Subject: [PATCH] fixed typo --- assets/drop_tables.toml | 2 +- src/entities/item/drop_table.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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, }