From 96d79901c73c84de9978630cb101fd56ba2a0762 Mon Sep 17 00:00:00 2001 From: Harry5573OP Date: Sat, 24 May 2014 00:46:15 +0100 Subject: [PATCH] Fix a NPC before we go live. --- .../com/gmail/nossr50/datatypes/player/McMMOPlayer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ae017e84a..3710d8701 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java +++ b/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java @@ -110,6 +110,8 @@ public class McMMOPlayer { pendingCallback = new Callback() { @Override public void done(String playerName, PlayerProfile p) { + profile = p; + party = PartyManager.getPlayerParty(playerName); ptpRecord = new PartyTeleportRecord(); @@ -160,9 +162,7 @@ public class McMMOPlayer { if (!profile.isLoaded()) { mcMMO.p.getLogger().log(Level.WARNING, "Unable to load the PlayerProfile for {0}. Will retry over the next several seconds.", playerName); new RetryProfileLoadingTask().runTaskTimerAsynchronously(mcMMO.p, 11L, 31L); - } else { - new ApplySuccessfulProfile(profile).runTask(mcMMO.p); - } + } } };