I have a line of command blocks targeting @p
, but they target seemingly random players. the person closest to the button will get teleported and given like 2 items, while a person 5 blocks behind them will get all the rest of the items and their gamemode updated.
I've tried rearranging the command blocks with and without chain command blocks, what do I do?
Best Answer
Your issue probably is that you are teleporting them first. The simplest solution is to call the
tp
command last. You might be doing:Simply swap the teleport command to be last: