SteamWar/BungeeCore
Archiviert
13
2

Merge branch 'master' into sql
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
YoyoNow 2022-06-03 22:25:37 +02:00
Commit dea8e0b731
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())) { if (!all && !punishment.getType().isMulti() && !found.add(punishment.getType())) {
continue; continue;
} }
if (!all && !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()); 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; isPunished = true;
} }