Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
265dfd4904
Commit
ca4a0c2022
@ -139,7 +139,7 @@ public class UserElo {
|
||||
}
|
||||
|
||||
public static String getEmblemProgression(String gameMode, int userId) {
|
||||
if (UserElo.getFightsOfSeason(user.getId(), mode.getSchemType()) < 10) return "§8✧ ✦ ✶ ✷ ✸ ✹ ❂";
|
||||
if (UserElo.getFightsOfSeason(userId, gameMode) < 10) return "§8✧ ✦ ✶ ✷ ✸ ✹ ❂";
|
||||
Optional<Integer> currentElo = UserElo.getElo(userId, gameMode);
|
||||
if (!currentElo.isPresent()) return "§8✧ ✦ ✶ ✷ ✸ ✹ ❂";
|
||||
int maxEloOfGameMode = UserElo.getMaxElo(gameMode);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren