1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-19 02:12:58 +01:00

Get rid of all the deprecated instances of Users.getProfile()

This commit is contained in:
GJ
2013-02-04 08:09:24 -05:00
parent 74c367c069
commit 44b862c0bb
19 changed files with 34 additions and 35 deletions

View File

@@ -41,7 +41,7 @@ public abstract class SkillCommand implements CommandExecutor {
}
player = (Player) sender;
profile = Users.getProfile(player);
profile = Users.getPlayer(player).getProfile();
if (profile == null) {
sender.sendMessage(LocaleLoader.getString("Commands.DoesNotExist"));