1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-21 19:22:59 +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

@@ -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();