SteamWar/BungeeCore
Archiviert
13
2

Update RankCommand #311

Zusammengeführt
Lixfel hat 9 Commits von Ranked nach master 2022-03-15 15:14:11 +01:00 zusammengeführt
Nur Änderungen aus Commit 527576aa14 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -143,7 +143,7 @@ public class UserElo {
public static String getEmblemProgression(ProxiedPlayer player, String gameMode, int userId) {
int fightsOfSeason = getFightsOfSeason(userId, gameMode);
if (fightsOfSeason < 10) {
return Message.parse("RANK_NEEDED_FIGHTS_LEFT", player, "§8✧ ✦ ✶ ✷ ✸ ✹ ❂", 11 - fightsOfSeason);
return Message.parse("RANK_NEEDED_FIGHTS_LEFT", player, "§8✧ ✦ ✶ ✷ ✸ ✹ ❂", 10 - fightsOfSeason);
}
Optional<Integer> currentElo = UserElo.getElo(userId, gameMode);
if (!currentElo.isPresent()) return "§8✧ ✦ ✶ ✷ ✸ ✹ ❂";