Dieser Commit ist enthalten in:
Ursprung
3e064f7e4c
Commit
02581ec36b
@ -147,15 +147,10 @@ public class SteamwarUser {
|
||||
}
|
||||
|
||||
private static List<SteamwarUser> loadPunishments(List<SteamwarUser> users) {
|
||||
users.forEach(user -> user.punishments = Punishment.getPunishmentsOfPlayer(user.getId()));
|
||||
return users;
|
||||
}
|
||||
|
||||
private static SteamwarUser loadPunishments(SteamwarUser user) {
|
||||
if(user == null)
|
||||
return null;
|
||||
|
||||
user.punishments = Punishment.getPunishmentsOfPlayer(user.getId());
|
||||
return user;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren