mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-12 19:00:48 +01:00
Re-added mcMMO.getPlayerProfile(Player)
This commit is contained in:
parent
48dd537257
commit
271740d2ac
@ -261,6 +261,19 @@ public class mcMMO extends JavaPlugin {
|
||||
return Users.getProfile(player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get profile of the player.
|
||||
* </br>
|
||||
* This function is designed for API usage.
|
||||
*
|
||||
* @param player player whose profile to get
|
||||
* @return the PlayerProfile object
|
||||
*/
|
||||
@Deprecated
|
||||
public PlayerProfile getPlayerProfile(Player player) {
|
||||
return Users.getProfile(player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Things to be run when the plugin is disabled.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user