Minecraft
  1. Minecraft
  2. MC-69992

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: Minecraft 1.10
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Environment:

      Windows 8
      Java 7u55

    • Confirmation Status:
      Confirmed

      Description

      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
        63 kB
      2. 2.png
        62 kB

        Activity

        Hide
        [Mod] Kumasasa added a comment -

        Confirmed.
        If <max> is omitted, LONG_MAX is assumedd.

        Show
        [Mod] Kumasasa added a comment - Confirmed. If <max> is omitted, LONG_MAX is assumedd.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              CHK: