Re-added mcMMO.getPlayerProfile(Player)

This commit is contained in:
bm01 2012-06-15 10:03:00 +02:00
parent 48dd537257
commit 271740d2ac

View File

@ -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.
*/