Player.setPlayerProfile API

This can be useful for changing name or skins after a player has logged in.
This commit is contained in:
Aikar
2018-03-18 12:28:55 -04:00
parent 2eaa723e96
commit 4447307899
5 changed files with 36 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio
* @return the player's profile
*/
@NotNull
PlayerProfile getPlayerProfile();
com.destroystokyo.paper.profile.PlayerProfile getPlayerProfile(); // Paper
/**
* Checks if this player has had their profile banned.