How could I make this, and other similar functions work in multiplayer?
I'm not very good at working with selectors, and I got an issue with my data pack that not the right person get's teleported when holding an item.
My guess would be to put a "as @p" at the end and put @s-s in the function that get's run by this line:
Continue to help postexecute if entity @p[nbt={SelectedItem:{id:"minecraft:player_head",count:1,components:{"minecraft:custom_name":'"Essence of LIMBO"'}},Dimension:"minecraft:overworld"}] if dimension minecraft:overworld run function limbo:tp_to_limbo
Can someone please help with this? I cannot really test it so I want to make sur that it has the highest chance of working before releasing the fix