Mojira Archive
REALMS-12370

testfor @p tests for anywhere

When i have the command 

/testfor @p[scores={money=100..}

] in a comand block for a shop hub it tests for everyone online instead of closest player so when i have the next comandblock say /scoreboard players remove @p money 100 but it still then removes the money from the closet player.

this makes it so that the player who pressed the button goes into negative money and breaks my realm

Awaiting Response

HanksterPhill

2025-01-21, 05:08 AM

2025-02-11, 12:25 PM

2025-02-11, 12:24 PM

0

1

Unconfirmed

1.21.50 (Bedrock)

-