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

-= isn't a valid operation in scoreboard players operation

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 17w45a
    • Fix Version/s: Minecraft 17w45b
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      when typing

      scoreboard players operation (selector) (objective) -= (selector) (objective)
      
      ex:
      scoreboard players operation @s energy -= @s rate
      

      the game says the operation is invalid. all other operations function properly

      Edit:
      -+ is apparently a valid operation. There seems to be a typo in the code.

        Attachments

          Activity

            People

            • Assignee:
              dinnerbone [Mojang] Dinnerbone (Nathan Adams)
              Reporter:
              cowslayer6789 Andrew Turcan
            • Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: