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

Read-only scoreboard objectives only initialize when respective value is changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07c, Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w10a, Minecraft 18w10b, Minecraft 18w14b, Minecraft 18w16a, Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre4, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre10, Minecraft 1.13
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Read-only scoreboard objectives are only initialized when the value they are tracking changes. Expected would be that they initialize on creation.

      Affected objective criteria

      • air
      • armor
      • food
      • health
      • level
      • xp

      How to reproduce

      1. Create a scoreboard objective of the type xp
        /scoreboard objectives add xp xp
        
      2. Check if a value is set by displaying the objective on the sidebar or trying to get the score
        /scoreboard objectives setdisplay sidebar xp
        
        /scoreboard players get @s xp
        

        No value is set

      3. Update your xp points
        /xp add @s 1
        
      4. Repeat step 2
        Now a value is set

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chokoboy3 alexander Thomsen
              • Votes:
                14 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: