Setblock Destroy crashes Minecraft if run too quickly after a chest clone
Verification builds: 804987, 903984
Summary: Cloning a chest and breaking it with a setblock-destroy command within 2 redstone ticks crashes the game.
Repro steps:
- Build the contraption shown in the first attachment. The commands are as follows:
- Impulse: ` clone ~ ~-2 ~ ~ ~-2 ~ ~ ~5 ~`
- Chain: ` setblock ~ ~4 ~ air 0`
- Activate the contraption and observe expected results.
- Change chain command to ` setblock ~ ~4 ~ air 0 destroy`
- Activate contraption and observe results.
- Build a new contraption as shown in the second attachment:
- Left impulse: `clone ~ ~-2 ~ ~ ~-2 ~ ~ ~5 ~`
- Right impulse: `setblock ~ ~5 ~2 air 0 destroy`
- Activate contraption and observe results.
- Increase repeater delay to level 2
- Activate contraption and observe expected results.
Observed results: Destroy commands crash game and (in dev builds) tosses attached assert in all cases except when repeater delay is increased to level 2.
Expected results: Destroy commands should not crash the game when run quickly after a clone command.