Mojira Archive
MCM-757

[BREAKING LIVE CONTENT] /clear @p item only clears data value 0

Partner Rank: 2

Verification builds: 1.12.0
Regression builds: 1.11.0

Summary: The /clear command defaults to data value 0 when not specified instead of clearing all data values as it used to. In addition, it treats data value -1 as if it was 0 rather than anything as in other commands. Finally, if you have two different data values of the same item (with one as dv 0) and run a clear, sometimes the dv 1 item will be cleared.

Impact: This breaks the two-keycard door in The Enderman Heists, making it impossible to complete.

Repro Steps:

  1. Open any world
  2. /give @s sapling 1 1
  3. /clear @s sapling
  4. /clear @s sapling -1
  5. /clear @s sapling 1

Expected Results: The sapling is cleared after the first /clear, and if you skip it and run the second /clear it is also cleared.

Observed Results: Only the last clear command clears the sapling.

Screenshots/Videos attached: No

Fixed

BluCode

2019-07-28, 06:05 AM

2019-08-05, 08:07 PM

2019-08-05, 08:07 PM

2

1

Future Release

-