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

Incorrect /gamerule syntax (typing only /gamerule doesn't return any error)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w03b
    • Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.8, Minecraft 15w31c, Minecraft 15w32c, 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, Minecraft 1.10.2, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b
    • Confirmed

      The syntax for the /gamerule command is:

      /gamerule <rule> [value]
      

      (This syntax can be seen through the /help command.)

      But, since typing only /gamerule will return all available gamerules and not any error message, the <rule> field isn't required, so it should be:

      /gamerule [rule] [value]
      

      The fix for this bug is simple and only involves changing a string on the language files.

        1. 2015-08-09_13.34.59.png
          2015-08-09_13.34.59.png
          100 kB
        2. 2.png
          2.png
          230 kB
        3. 1.png
          1.png
          233 kB

            Unassigned Unassigned
            Bentroen Bentroen
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: