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

Positional selectors in commands select players in all dimensions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.20.26 Preview, 1.18.10
    • None
    • Unconfirmed
    • Multiple

      If you have commands using positional player selectors like r= or x=/dx=, they now apply regardless of dimension after 1.18.10. This breaks some systems on our realm, and also breaks a way I had previously used to tag players by dimension (r=some high number)

      Steps to reproduce

      1) Create a ticking area in the overworld at 0,0

      2) Place a repeating command block with the command /tell @a[r=200] In Range

      3) Go to the nether at 0,0

      4) You will see the In Range messages

       

      Expected Behavior: You shouldn't see the In Range messages

       

      Notes:

      This applies to both command blocks AND normal commands (I previously thought it didn't apply to normal commands, but realized I did the test wrong before)

      Using execute to make an entity do the command instead, to try to have the range selector use its range and dimension was NOT successful, it still executed in all dimensions

            Rowlga Rowlga Nartamas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: