From 0b08732817658126fa57a05f883e73e44a741edc Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 15 Mar 2022 09:47:27 +0100 Subject: [PATCH] Update UserElo --- src/de/steamwar/bungeecore/sql/UserElo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/sql/UserElo.java b/src/de/steamwar/bungeecore/sql/UserElo.java index 3f937f7..a5fc2a0 100644 --- a/src/de/steamwar/bungeecore/sql/UserElo.java +++ b/src/de/steamwar/bungeecore/sql/UserElo.java @@ -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 currentElo = UserElo.getElo(userId, gameMode); if (!currentElo.isPresent()) return "§8✧ ✦ ✶ ✷ ✸ ✹ ❂"; int maxEloOfGameMode = UserElo.getMaxElo(gameMode);