diff --git a/pumpkin-inventory/src/player.rs b/pumpkin-inventory/src/player.rs index b67af9c6b..fd92220a9 100644 --- a/pumpkin-inventory/src/player.rs +++ b/pumpkin-inventory/src/player.rs @@ -51,7 +51,7 @@ impl PlayerInventory { 1..=4 => self.crafting[slot - 1] = item, 5..=8 => { match item { - None => self.armor[slot - 4] = None, + None => self.armor[slot - 5] = None, Some(item) => { // TODO: Replace asserts with error handling match slot - 5 {