mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-18 08:25:27 +01:00
Move that PlayerProfile up another level!
This commit is contained in:
parent
f0dcfb0346
commit
8fe18be79b
@ -89,10 +89,14 @@ public class McMMOPlayer {
|
||||
private boolean isUsingUnarmed;
|
||||
|
||||
public McMMOPlayer(Player player) {
|
||||
this(player, mcMMO.getDatabaseManager().loadPlayerProfile(player.getName(), true));
|
||||
}
|
||||
|
||||
public McMMOPlayer(Player player, PlayerProfile profile) {
|
||||
String playerName = player.getName();
|
||||
|
||||
this.player = player;
|
||||
profile = mcMMO.getDatabaseManager().loadPlayerProfile(playerName, true);
|
||||
this.profile = profile;
|
||||
party = PartyManager.getPlayerParty(playerName);
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user