mojira.dev
MC-10825

Using /clear on more than 1 player will stop clearing inventories once an empty inventory is encountered

How to reproduce: Join a game with 2 players with empty inventories. Run /say @a. Give the player with the last name on that list an item. Run /clear @a. That player will still have his item. Example: redstonehelper and relper have an empty inventory, relper is given a stone sword. /clear @a will not clear that stone sword.

Comments 1

This is confirmed for me as well in a different way. I created a dynamic arena. After a match, I used a button to activate a line of command blocks that contain /clear @a [id]. Several IDs to remove the armor and weapons after the match. Every player will only have 1 of those items cleared but not all (even though all commandblocks are activated). Pressing the button to rerun those blocks does nothing.

I find that if ALL players have the same item in their inventories then the commandblocks are run, then stuff begins to get cleared.

migrated

Nathan Adams

Unconfirmed

/clear, clearing, empty, inventory, multiple, players

Snapshot 13w09c

Snapshot 13w10a

Retrieved