Archiviert
1
0

Hotfix WhoisCommand

Dieser Commit ist enthalten in:
yoyosource 2022-06-03 13:26:03 +02:00
Ursprung edfbfb614d
Commit d4e2e80dd5

Datei anzeigen

@ -103,7 +103,7 @@ 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 (!punishment.isCurrent()) { if (!all && !punishment.isCurrent()) {
continue; 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());