[MC-10825] Using /clear on more than 1 player will stop clearing inventories once an empty inventory is encountered Created: 02/Mar/13 Updated: 06/Sep/15 Resolved: 04/Mar/13 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Snapshot 13w09c |
| Fix Version/s: | Snapshot 13w10a |
| Type: | Bug | ||
| Reporter: | [Mod] redstonehelper | Assignee: | [Mojang] Nathan Adams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | /clear, clearing, empty, inventory, multiple, players | ||
| Confirmation Status: | Unconfirmed |
| Description |
|
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 |
| Comment by Jason Birchfield [ 03/Mar/13 ] |
|
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. |