From e7ee31c2911524da358ebff1e5f4282023a212ae Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Thu, 31 Jul 2014 23:10:46 +0200 Subject: [PATCH] Revert "Hide loading messages when at the first attempt" This reverts commit 216ecc465d39d1a95f7ee175fa7ad503398881c4. --- .../nossr50/runnables/player/PlayerProfileLoadingTask.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/runnables/player/PlayerProfileLoadingTask.java b/src/main/java/com/gmail/nossr50/runnables/player/PlayerProfileLoadingTask.java index a1b0babfc..5b8990265 100644 --- a/src/main/java/com/gmail/nossr50/runnables/player/PlayerProfileLoadingTask.java +++ b/src/main/java/com/gmail/nossr50/runnables/player/PlayerProfileLoadingTask.java @@ -47,7 +47,7 @@ public class PlayerProfileLoadingTask extends BukkitRunnable { } // Send the message that we're doing the recovery - if (attempt > 0) { + if (attempt == 0) { player.sendMessage(LocaleLoader.getString("Profile.Loading.Start")); } @@ -94,13 +94,10 @@ public class PlayerProfileLoadingTask extends BukkitRunnable { McMMOPlayer mcMMOPlayer = new McMMOPlayer(player, profile); UserManager.track(mcMMOPlayer); + player.sendMessage(LocaleLoader.getString("Profile.Loading.Success")); mcMMOPlayer.actualizeRespawnATS(); ScoreboardManager.setupPlayer(player); - if (attempt > 0) { - player.sendMessage(LocaleLoader.getString("Profile.Loading.Success")); - } - if (Config.getInstance().getShowStatsAfterLogin()) { ScoreboardManager.enablePlayerStatsScoreboard(player); new McScoreboardKeepTask(player).runTaskLater(mcMMO.p, 1 * Misc.TICK_CONVERSION_FACTOR);