Skip to content

Commit

Permalink
fix(uuid): update username with user uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
StarWishsama committed Jul 17, 2024
1 parent c4c6a11 commit 25047d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ public void updateUsername(String uuid, String newName) {

var data = new RecordSet();
data.put(FieldKey.PLAYER_NAME, newName);
data.put(FieldKey.PLAYER_UUID, uuid);

scheduleWriteTask(new UUIDKey(DataScope.NONE, uuid), key, data, false);
}
Expand Down

0 comments on commit 25047d8

Please sign in to comment.