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

/execute fails for tag command when radius (r=x.x) is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.14.60 Hotfix
    • None
    • Unconfirmed
    • Windows

      Command block is at the bottom of a chain, 6 blocks under a pressure plate. The first block sets a scoreboard for <player> if tag=!leader

      This finds the closest player in the given radius, but fails to execute:

      /execute @p[x=~,y=~6,z=~,r=1.5] ~ ~ ~ tag @p[x=~,y=~6,z=~,r=1.5] add leader

      "Failed to execute command as <playername>"

      This works fine:

      /execute @p[x=~,y=~6,z=~] ~ ~ ~ tag @p[x=~,y=~6,z=~] add leader

       

      The same execute command with radius filter works for scoreboard players add commands. This bug only seems to affect the tag command for some reason.

       

            ZizzyZizzy Zizzy zizzy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: