From 9f7f5eef366d0047f8191b6dbe985babf7c7dde1 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 4 Jun 2022 22:49:07 +0200 Subject: [PATCH] Test fix ban timeout Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/listeners/BanListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/listeners/BanListener.java b/src/de/steamwar/bungeecore/listeners/BanListener.java index 548058c..a868ba3 100644 --- a/src/de/steamwar/bungeecore/listeners/BanListener.java +++ b/src/de/steamwar/bungeecore/listeners/BanListener.java @@ -50,6 +50,7 @@ public class BanListener extends BasicListener { user.updateBanIP(event.getConnection().getAddress().getAddress().getHostAddress()); event.setCancelled(true); ChatSender.of(event).system(user.punishmentMessage(Punishment.PunishmentType.Ban)); + event.completeIntent(BungeeCore.get()); return; }