SteamWar/SpigotCore
Archiviert
13
0

Fix
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaos 2022-01-29 15:01:31 +01:00
Ursprung 8caaa01204
Commit aab7cbb363

Datei anzeigen

@ -53,7 +53,7 @@ public class Punishment {
public static boolean isPunished(SteamwarUser user, Punishment.PunishmentType type, Consumer<Punishment> callback) {
Punishment punishment = Punishment.getPunishmentOfPlayer(user.getId(), type);
if(punishment == null || punishment.isCurrent()) {
if(punishment == null || !punishment.isCurrent()) {
return false;
} else {
callback.accept(punishment);