Mojira Archive
MC-269727

Bugs in /clear and other or searches

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

Invalid

soup_0719

2024-03-21, 05:51 PM

2024-04-05, 05:55 PM

2024-04-05, 05:55 PM

0

1

Unconfirmed

(Unassigned)

24w12a

-