Location data using `@p` seems to be lost...
get.id FN:
execute as @a run tellraw @p ["",{"score":{"name":"@s","objective":"playerid"},"color":"yellow"},{"text":" "},{"selector":"@s","color":"green"}]This simply displays the name and id of all players online. Example:
6846 StevePlayers get this by running a trigger command... TICK FN:#! Detects when '/trigger get.id' is run scoreboard players enable @a get.id execute as @a if score @s get.id matches 1.. run function name:get.idWhen running the
get.id function, it works as intended. The@pmakes sure the tellraw displays at the player who ran the function becauseexecute asisn't location specific. But when running the trigger command,/trigger get.idit does not display anything. The location of the player who ran the command seems to be lost somewhere. Whats going wrong here? INFO: [1.20.6]