Dieser Commit ist enthalten in:
Ursprung
5ca6d9f4a4
Commit
a2bb52ab26
@ -79,8 +79,8 @@ public class UserElo {
|
|||||||
int oldPlacement = getPlacement(getElo(userId, gameMode).orElse(0), gameMode);
|
int oldPlacement = getPlacement(getElo(userId, gameMode).orElse(0), gameMode);
|
||||||
int newPlacement = getPlacement(elo, gameMode);
|
int newPlacement = getPlacement(elo, gameMode);
|
||||||
|
|
||||||
if (oldPlacement <= 3 || newPlacement <= 3) {
|
|
||||||
gameModeUserEloCache.getOrDefault(gameMode, Collections.emptyMap()).remove(userId);
|
gameModeUserEloCache.getOrDefault(gameMode, Collections.emptyMap()).remove(userId);
|
||||||
|
if (oldPlacement <= 3 || newPlacement <= 3) {
|
||||||
emblemCache.clear();
|
emblemCache.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren