cleanup username to uuid endpoint
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m32s

This commit is contained in:
Lee
2024-04-11 00:49:16 +01:00
parent f2e8360567
commit a11a90f530
6 changed files with 25 additions and 20 deletions

View File

@ -15,7 +15,7 @@ public class Player {
/**
* The UUID of the player
*/
@Id private final UUID uuid;
@Id private final UUID uniqueId;
/**
* The username of the player
@ -40,7 +40,7 @@ public class Player {
private MojangProfile.ProfileProperty[] rawProperties;
public Player(MojangProfile profile) {
this.uuid = UUIDUtils.addDashes(profile.getId());
this.uniqueId = UUIDUtils.addDashes(profile.getId());
this.username = profile.getName();
this.rawProperties = profile.getProperties();