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

Testing for a score of x or a minimum of x doesn't work in execute if/unless score

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 18w06a, Minecraft 18w07a, Minecraft 18w07b, Minecraft 18w07c, Minecraft 18w08a
    • Minecraft 18w08b
    • Confirmed

    Description

      How to reproduce

      execute if score @s test matches 1 run say hi
      execute if score @s test matches 1.. run say hi
      

      These commands both won't successfully parse

      execute if score @s test matches 1..2 run say hi
      execute if score @s test matches ..1 run say hi
      

      These both work and parse as expected

      Attachments

        Issue Links

          Activity

            People

              dinnerbone [Mojang] Nathan Adams
              AlexMCool Alex³
              Votes:
              20 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: