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

Wrong syntax for /scoreboard players test (max value isn't required)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.10
    • Minecraft 14w34d, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1-pre5, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.3, Minecraft 1.8.8, Minecraft 15w31c, Minecraft 15w33a, Minecraft 15w33b, Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w36d, Minecraft 15w37a, Minecraft 15w39c, Minecraft 15w40a, Minecraft 15w40b, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a
    • Windows 8
      Java 7u55
    • Confirmed

      The syntax for /scoreboard players test is:

      /scoreboard players test <player> <objective> <min> <max>
      

      But the <max> value isn't required; if you don't specify any value, it will assume the biggest maximum, but not return errors. So the syntax should be:

      /scoreboard players test <player> <objective> <min> [max]
      

        1. 1.png
          1.png
          63 kB
        2. 2.png
          2.png
          62 kB

            grum [Mojang] Grum (Erik Broes)
            Bentroen Bentroen
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: