mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Revert "Hide loading messages when at the first attempt"
This reverts commit 216ecc465d
.
This commit is contained in:
parent
23cbfc9038
commit
e7ee31c291
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user