Archiviert
1
0

Fix BanListener parsing

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-09-11 11:34:56 +02:00
Ursprung ecf17dd347
Commit dbc9ed8b57

Datei anzeigen

@ -84,7 +84,7 @@ public class BanListener extends BasicListener {
ips.stream().map(banned -> { ips.stream().map(banned -> {
SteamwarUser bannedUser = SteamwarUser.get(banned.getUserID()); SteamwarUser bannedUser = SteamwarUser.get(banned.getUserID());
return sender.parseToLegacy("BAN_AVOIDING_LIST", bannedUser.getUserName(), return sender.parseToLegacy("BAN_AVOIDING_LIST", bannedUser.getUserName(),
banned.getTimestamp().toLocalDateTime().format(DateTimeFormatter.ofPattern(sender.parseToLegacy("TIMEFORMAT")))); banned.getTimestamp().toLocalDateTime().format(DateTimeFormatter.ofPattern(sender.parseToPlain("TIMEFORMAT"))));
}).collect(Collectors.joining(" ")) }).collect(Collectors.joining(" "))
)); ));
} }