Slight refactor

This commit is contained in:
Braydon 2024-04-06 14:49:54 -04:00
parent 3347ac6dcb
commit e146fa1030
3 changed files with 5 additions and 5 deletions

@ -24,5 +24,5 @@ public final class Player {
/**
* The profile actions this player has.
*/
@NonNull private ModerationAction[] profileActions;
@NonNull private ProfileAction[] profileActions;
}

@ -1,12 +1,12 @@
package me.braydon.mc.model;
/**
* Moderation actions that can
* Profile actions that can
* be taken on a {@link Player}.
*
* @author Braydon
*/
public enum ModerationAction {
public enum ProfileAction {
/**
* The player is required to change their
* username before accessing Multiplayer.

@ -1,7 +1,7 @@
package me.braydon.mc.model.token;
import lombok.*;
import me.braydon.mc.model.ModerationAction;
import me.braydon.mc.model.ProfileAction;
/**
* A token representing a Mojang user profile.
@ -29,7 +29,7 @@ public final class MojangProfileToken {
/**
* The actions this profile has.
*/
@NonNull private ModerationAction[] profileActions;
@NonNull private ProfileAction[] profileActions;
/**
* A property of a Mojang profile.