1
0
Dieser Commit ist enthalten in:
yoyosource 2022-03-15 09:47:27 +01:00
Ursprung 92c0e58590
Commit 0b08732817

Datei anzeigen

@ -139,6 +139,7 @@ public class UserElo {
}
public static String getEmblemProgression(String gameMode, int userId) {
if (UserElo.getFightsOfSeason(user.getId(), mode.getSchemType()) < 10) return "§8✧ ✦ ✶ ✷ ✸ ✹ ❂";
Optional<Integer> currentElo = UserElo.getElo(userId, gameMode);
if (!currentElo.isPresent()) return "§8✧ ✦ ✶ ✷ ✸ ✹ ❂";
int maxEloOfGameMode = UserElo.getMaxElo(gameMode);