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
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:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user