Mojira Archive
MCM-252

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:

  1. Build the contraption shown in the first attachment. The commands are as follows:
    1. Impulse: ` clone ~ ~-2 ~ ~ ~-2 ~ ~ ~5 ~`
    2. Chain: ` setblock ~ ~4 ~ air 0`
  2. Activate the contraption and observe expected results.
  3. Change chain command to ` setblock ~ ~4 ~ air 0 destroy`
  4. Activate contraption and observe results.
  5. Build a new contraption as shown in the second attachment:
    1. Left impulse: `clone ~ ~-2 ~ ~ ~-2 ~ ~ ~5 ~`
    2. Right impulse: `setblock ~ ~5 ~2 air 0 destroy`
  6. Activate contraption and observe results.
  7. Increase repeater delay to level 2
  8. 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.

Fixed

James Dusek

2018-05-07, 01:11 AM

2018-05-31, 02:12 AM

2018-05-31, 02:12 AM

0

0

Future Release

-