Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-106085

Commands fail when using non-integers in target selectors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b
    • Fix Version/s: None
    • Environment:
      Any
    • Confirmation Status:
      Unconfirmed

      Description

      Executing commands with target selector variables using a non-integer fails with the following error: "The entity UUID is in an invalid format."

      To reproduce:
      1. Enter the following command (Should work fine)
      /execute @a[r=10] ~ ~ ~ /say Hi!
      2. Enter the following command (Should fail)
      /execute @a[r=10.5] ~ ~ ~ /say Hi!

      This bug is really annoying, because I am making an adventure map that has to work with really precise rotation values (dy=11.25,dym=-11.25) and I can't use non-integers in target selector variables. Please fix this as soon as possible!

        Attachments

        1. 2016-08-11_16.21.17.png
          70 kB
          Sebastian Cila
        2. 2016-08-11_16.22.51.png
          70 kB
          Sebastian Cila

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              EchoBlade Sebastian Cila
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: