mojira.dev
MC-43489

/clear ignores team arguments.

When using /clear in a command block, it ignores the team argument and clears the inventory of all players, regardless of team.

For example:
/clear @a[Team=Red] lapis_block

Acts like this:
/clear @a lapis_block

There's usually a delay between clearing Items, but it still clears the item.

Actually, if it's a block, it disappears from your inventory as soon as you try to place it, and it disappears as soon as it's placed.

Comments 4

I just hope this isn't a duplicate or an incorrect report.

You're doing this wrong, you should be doing

/clear @a[team=Red] lapis_block

also, for the sake of simplicity I recommend setting your teams up with two names, using the following syntax:

/scoreboard teams add r Red

or

/scoreboard teams add red Red

This way you can access teams in command blocks using

r

or

red

but it appears as

Red

to players.

I feel like an idiot.

Squid Eevee

(Unassigned)

Unconfirmed

Minecraft 1.7.4

Retrieved