Mojira Archive
MC-65081

/tp and /give using [score_<name>=(#)] is buggy

I am making a multiplayer map where i want to have different classes, you spawn in a room and select your class. After, you press a button that should teleport you to different rooms depending on your class.
These are the commands
/tp @a[score_Class=1,r=20] 100 100 100
/tp @a[score_Class=2,r=20] 100 50 100
ect.
It seems random to me where it teleports you to, but no matter your Class score, everyone is getting teleported to the same room.
I tried giving the items directly to the players based on Class
ie /give @a[score_Class=3]
and it seems to have the same issue.
Thank you.

Invalid

Julian Rodriguez

2014-08-02, 06:18 PM

2014-08-03, 01:21 AM

2014-08-03, 12:37 AM

0

1

Unconfirmed

Minecraft 14w31a

-