From dbc9ed8b577d20417f50952e634be9249a553e78 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 11 Sep 2023 11:34:56 +0200 Subject: [PATCH] Fix BanListener parsing Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/listeners/BanListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/listeners/BanListener.java b/src/de/steamwar/bungeecore/listeners/BanListener.java index 8776dbb3..df8fa0ea 100644 --- a/src/de/steamwar/bungeecore/listeners/BanListener.java +++ b/src/de/steamwar/bungeecore/listeners/BanListener.java @@ -84,7 +84,7 @@ public class BanListener extends BasicListener { ips.stream().map(banned -> { SteamwarUser bannedUser = SteamwarUser.get(banned.getUserID()); 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(" ")) )); }