Archiviert
1
0

Hotfix WhoisCommand

Dieser Commit ist enthalten in:
yoyosource 2022-06-03 13:24:47 +02:00
Ursprung 163e40f2dd
Commit edfbfb614d
2 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen

@ -1 +1 @@
Subproject commit 0f03b57e437c1d843816b7202d95b79ff0a8d2df
Subproject commit 919c4d525ea39756b24bd961bb72d8d58bdd5bd4

Datei anzeigen

@ -103,6 +103,9 @@ public class WhoisCommand extends BasicCommand {
if (!all && !punishment.getType().isMulti() && !found.add(punishment.getType())) {
continue;
}
if (!punishment.isCurrent()) {
continue;
}
Message.sendPrefixless("WHOIS_PUNISHMENT", player, SteamwarUser.get(punishment.getPunisher()).getUserName(), punishment.getType().name(), punishment.getBantime(punishment.getStartTime(), false), punishment.getBantime(punishment.getEndTime(), punishment.isPerma()), punishment.getReason());
isPunished = true;
}