Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-155237

@p command not functioning properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.18.30, 1.18.31
    • None
    • Unconfirmed
    • Windows

      '/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.

            Sheikh_Rashdan Sheikh_Rashdan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: