more cleanup
All checks were successful
deploy / deploy (push) Successful in 42s

This commit is contained in:
Lee
2024-04-08 05:29:05 +01:00
parent 3f7f1864a6
commit 1f45d26f53
11 changed files with 34 additions and 31 deletions

View File

@ -0,0 +1,27 @@
package cc.fascinated.service.mojang.model;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter @NoArgsConstructor
public class MojangUsernameToUuid {
/**
* The UUID of the player.
*/
private String id;
/**
* The name of the player.
*/
private String name;
/**
* Check if the profile is valid.
*
* @return if the profile is valid
*/
public boolean isValid() {
return id != null && name != null;
}
}