Revert "Hide loading messages when at the first attempt"

This reverts commit 216ecc465d.
This commit is contained in:
TfT_02 2014-07-31 23:10:46 +02:00
parent 23cbfc9038
commit e7ee31c291

View File

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