Add Player#getGameProfile() to make tab list plugins easier to make.

This commit is contained in:
Andrew Steinborn
2019-03-29 15:01:52 -04:00
parent 118574e535
commit 564cb99861
5 changed files with 13 additions and 8 deletions

View File

@@ -106,6 +106,11 @@ public interface Player extends CommandSource, InboundConnection, ChannelMessage
*/
void setGameProfileProperties(List<GameProfile.Property> properties);
/**
* Returns the player's game profile.
*/
GameProfile getGameProfile();
/**
* Sets the tab list header and footer for the player.
*