Skip to content

Player Cache of UUID could be invalid because of offline accounts or name changes #1

Description

@Dahesor

Right now the UUID values of players are cached in the 4 score boards. However scoreboards use the player's name instead of UUID to store its values.

Thus if a new player logs in with a different UUID but the same name as an old player that has logged in before, then when calling gu:generate, the new player would use the old player's scoreboard values and get the wrong hex results.

I got this happening when switched from online to offline accounts during an internet outage. This could also happen if a player changed its name, then later on another player changed their name to that name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions