Mojira Archive
MC-121823

Using "destroy" command on containers does not drop stored contents

The bug

When using /setblock x y z air destroy on a container (chest, dropper, etc) with items inside, the container is broken and dropped but the contents disappear completely.
I distinctly recall the contents dropping in 17w43b, and I'm pretty sure it worked in 1.12 as well.

How to reproduce

Put down a chest, shove some stuff in there, and target it with a /setblock destroy command. The chest drops, but the stuff inside is gone.

Workaround

As of 17w46a, it now works fine with /fill, but not with /setblock.