Mojira Archive
MCPE-155237

@p command not functioning properly

'/gamemode a @p' command changes the gamemode of the second closest player instead of the closest player when executing it from a command block.

'/gamemode a @p[r=10]' shows 'no targets matched selector' when the first closest player is inside a 10 block radius and second closest player is outside of a 10 block radius. 

'/tag @p add <tag>' adds a tag to the second closest person instead of the closest player when executing from a command block. Same as '/gamemode a @p'.

The issue only occurs when executing the command from a command block and works properly when executing it from chat.

Incomplete

Sheikh_Rashdan

2022-05-02, 08:01 AM

2023-01-20, 05:48 PM

2023-01-20, 05:48 PM

0

0

Unconfirmed

1.18.30, 1.18.31

-