mojira.dev
MC-305123

Curse of Vanishing doesn't work when the item is equipped on an armor stand

The Curse of Vanishing enchantment (more specifically, the “prevent_equipment_drop” enchantment component) fails to work properly when an Armor Stand dies with the enchanted item.

To Replicate:

  1. Give yourself a piece of armor with Curse of Vanishing

  2. Place it on an Armor Stand

  3. Destroy the armor stand

Expected Behavior: The item should disappear.

Observed Behavior: The item drops on the ground.

Comments 1

Still present on 26.1-snapshot-1. ArmorStand.java does not check for the prevent_equipment_drop component on the given ItemStack when dropping items.

Conure512

(Unassigned)

Confirmed

Platform

Important

Enchantments

1.21.11

Retrieved