mojira.dev
MC-309323

Scoreboard uses player name instead of UUID

Short description of the issue

Scoreboards use a player’s name instead of a player’s UUID, so changing your name will not update your scoreboard values

Steps to reproduce the issue

1. Launch the game with --uuid="00000000-0000-0000-0000-000000000000" --username="player_one"
2. Go into a world, and type these commands:

/scoreboard objectives add test dummy
/scoreboard objectives setdisplay sidebar test
/scoreboard players set player_one test 2
  1. Relaunch the game, this time with --uuid="00000000-0000-0000-0000-000000000000" --username="player_two"

  2. Go into the same world, and type /scoreboard players add player_two test

Expected result

One scoreboard entry for player_two with score 5

Actual result

Two scoreboard entries, one for player_one with score 2, one for player_two with score 3

Linked issues

Comments 0

No comments.

kr1v

(Unassigned)

Unconfirmed

26.2

Retrieved