Player.setPlayerProfile API
This can be useful for changing name or skins after a player has logged in.
This commit is contained in:
@@ -16,7 +16,9 @@ import org.jetbrains.annotations.Nullable;
|
||||
* <p>
|
||||
* New profiles can be created via
|
||||
* {@link Server#createPlayerProfile(UUID, String)}.
|
||||
* @deprecated see {@link com.destroystokyo.paper.profile.PlayerProfile}
|
||||
*/
|
||||
@Deprecated(since = "1.18.1") // Paper
|
||||
public interface PlayerProfile extends Cloneable, ConfigurationSerializable {
|
||||
|
||||
/**
|
||||
@@ -25,6 +27,7 @@ public interface PlayerProfile extends Cloneable, ConfigurationSerializable {
|
||||
* @return the player's unique id, or <code>null</code> if not available
|
||||
*/
|
||||
@Nullable
|
||||
@Deprecated(since = "1.18.1") // Paper
|
||||
UUID getUniqueId();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user