mojira.dev
MCPE-224633

Armor stands killed with /kill drop their equipment

The bug

When /kill is used on an armor stand, it’s supposed to be simply deleted with no trace. This almost works. The armor stand is deleted with no animation or sound, and doesn’t drop an armor stand item. However, any equipment the armor stand is wearing do drop.

Killed by Hand

Killed with /kill

Sound?

✔ Yes

✔ No

Particles?

✔ Yes

✔ No

Drops Armor Stand Item?

✔ Yes

✔ No

Drops Equipment?

✔ Yes

❌ Yes

This table illustrates the issue. /kill bypasses almost all of the normal break events for armor stands, since it’s supposed to just delete them. However, equipment is still dropped instead of being deleted.

How to reproduce

  1. Spawn an armor stand

  2. Give it some armor

  3. /kill @e[type=armor_stand]

Expected result

The armor stand should be deleted with no trace

Observed result

The armor drops on the ground as an item

Comments 1

tryashtar

(Unassigned)

1449515

Confirmed

Windows

1.21.100.23 Preview, 1.21.93 Hotfix

Retrieved