mojira.dev
MC-13432

Command blocks only teleporting one team when using @a[team=!<teamName>]

I was in multi-player and I had a launching system where everyone not on a specific team had to be teleported but it only teleported the team with the player closest this doesn't seem like the correct behaviour as you would expect it to teleport all the players not on that team. It also did this with other comamnds such as /effect and /gamemode

I searched but I could not find something similar.

Linked issues

Attachments

Comments 4

Cannot reproduce, see screenshots.

This was in multi-player and any player not on the team, but on a different team to the closest player the the command block were not teleported but anyone on the team with the closest player was teleported.

The command I used was "tp @ar=20,team=!spectate ~0 ~-4 ~0" (with square brackets but that makes it a hyper link)
There were two other teams team red and blue I was on red and closest and I got teleported but my friend on team blue was not teleported. I changed my team to blue and it worked for both of us.

I can confirm this is an issue - related to 12278. (There is a great breakdown of where in code the issue exists in the comments of 12278 as well)

OK I realise this is fixed in 13w22a how do I close the ticket?

Joel

(Unassigned)

Unconfirmed

command_block

Minecraft 1.5.1, Minecraft 1.5.2

Retrieved