Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269727

Bugs in /clear and other or searches

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w12a
    • None
    • Unconfirmed
    • (Unassigned)

      When using "or search" in /clear, there are some items which fit the criteria but are not cleared.

      Example:
      give @s paper[custom_data=\{test:1}] 1
      give @s paper[custom_data=\{test:2}] 1
      clear @s paper[count=1,custom_data=\{test:1}|count=1,custom_data=\{test:2}]

       

      After use clear command, only the paper which has the data "test:2" is cleared.

      actual results

      The item with count=1 erased the item with test:2.

       

      Expected results

      test:1 and test:2 with count=1 are deleted

            Unassigned Unassigned
            soup_0719 soup_0719
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: