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

Integer overflow of scoreboard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 1.8.4, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w20c, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, 1.15.1, 1.15.2, 20w07a, 1.16.2, 20w51a, 21w03a, 1.16.5, 21w05b, 21w07a, 21w08b, 21w14a, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w38a, 21w39a, 21w40a, 21w42a
    • None
    • Confirmed
    • (Unassigned)

      The Bug:

      Integer overflow of scoreboard.

      Steps to Reproduce:

      • Run the following commands:
      • /scoreboard objectives add test dummy
        /scoreboard objectives setdisplay sidebar test
        /scoreboard players set @s test 2147483647
        /scoreboard players add @s test 1
      • →  Notice how your score is "-2147483648".

        1. MC-79954-1.png
          MC-79954-1.png
          92 kB
        2. MC-79954.png
          MC-79954.png
          614 kB
        3. MC-79954.mp4
          6.90 MB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            12 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: