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

@ -25,7 +25,7 @@ public final class ChimaeraWing {
return;
}
PlayerProfile profile = Users.getProfile(player);
PlayerProfile profile = Users.getPlayer(player).getProfile();
Block block = player.getLocation().getBlock();
int amount = inHand.getAmount();
long recentlyHurt = profile.getRecentlyHurt();

View File

@ -20,7 +20,7 @@ public final class Hardcore {
return;
}
PlayerProfile playerProfile = Users.getProfile(player);
PlayerProfile playerProfile = Users.getPlayer(player).getProfile();
int totalLost = 0;
for (SkillType skillType : SkillType.values()) {
@ -49,8 +49,8 @@ public final class Hardcore {
return;
}
PlayerProfile killerProfile = Users.getProfile(killer);
PlayerProfile victimProfile = Users.getProfile(victim);
PlayerProfile killerProfile = Users.getPlayer(killer).getProfile();
PlayerProfile victimProfile = Users.getPlayer(victim).getProfile();
int totalStolen = 0;
for (SkillType skillType : SkillType.values()) {