Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-143063

Updating name of existing score is being ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.19.0.21 Preview, 1.19.0.20 Beta, 1.18.10.24 Beta, 1.17.30, 1.18.0.25 Beta, 1.17.41 Hotfix, 1.18.2 Hotfix, 1.18.12 Hotfix, 1.19.30, 1.19.50.24 Preview, 1.19.41, 1.19.50
    • None
    • Community Consensus
    • Multiple
    • 943349

      The SetScore packet allows people to add new scores, update existing scores and remove scores.

      Adding and modifying scores is combined to one action type, so both adding and modifying scores contain info such as: objective id, score id, name and score value, but when I try to update the name of an existing score it looks like it is being ignored because it doesn't update. So I thought: maybe I just have to update both the score value and the name, but then only the score value is being updated.

      Steps to Reproduce:

      1. Send the required packets to create and display a sidebar scoreboard. We'll use 'abc123' as objective id.
      2. Send a score, e.g.: score id = 3, objective id = 'abc123', score =4, type = fake, name = 'initial name'
      3. Update the score, e.g.: score id = 3, objective id = 'abc123', score = 5, type = fake, name = 'edited name'

      Observed Results:

      The score with score id 3 uses the edited score (5) but still uses the initial name ('initial name')

      Expected Results:

      Both the new score (5) and the new name ('edited name') should be shown instead of only the new score

            Tim203 Tim203
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: