diff --git a/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java b/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java index d3b5b9920..3cc005cfc 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java +++ b/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java @@ -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); /*