From 6219d36c6443dc8ad3172da457ed207809d02465 Mon Sep 17 00:00:00 2001 From: yhypno Date: Mon, 13 Jul 2026 21:13:53 +0530 Subject: [PATCH] fix(item): consume armor stand on placement (#2392) --- pumpkin/src/item/items/armor_stand.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pumpkin/src/item/items/armor_stand.rs b/pumpkin/src/item/items/armor_stand.rs index 4b7d85c82..8a73b30d3 100644 --- a/pumpkin/src/item/items/armor_stand.rs +++ b/pumpkin/src/item/items/armor_stand.rs @@ -40,7 +40,7 @@ impl ItemMetadata for ArmorStandItem { impl ItemBehaviour for ArmorStandItem { fn use_on_block<'a>( &'a self, - _item: &'a mut ItemStack, + item: &'a mut ItemStack, player: &'a Player, location: BlockPos, face: BlockDirection, @@ -90,6 +90,7 @@ impl ItemBehaviour for ArmorStandItem { let armor_stand = ArmorStandEntity::new(entity); world.spawn_entity(Arc::new(armor_stand)).await; + item.decrement_unless_creative(player.gamemode.load(), 1); } }) }