Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
fe09afdb34
Commit
38457db014
@ -146,6 +146,9 @@ public class SteamwarUser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static SteamwarUser loadPunishments(SteamwarUser user) {
|
private static SteamwarUser loadPunishments(SteamwarUser user) {
|
||||||
|
if(user == null)
|
||||||
|
return null;
|
||||||
|
|
||||||
user.punishments = Punishment.getPunishmentsOfPlayer(user.getId());
|
user.punishments = Punishment.getPunishmentsOfPlayer(user.getId());
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren