Archiviert
1
0

Test fix ban timeout

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-06-04 22:49:07 +02:00
Ursprung 6d0a1f6bfd
Commit 9f7f5eef36

Datei anzeigen

@ -50,6 +50,7 @@ public class BanListener extends BasicListener {
user.updateBanIP(event.getConnection().getAddress().getAddress().getHostAddress()); user.updateBanIP(event.getConnection().getAddress().getAddress().getHostAddress());
event.setCancelled(true); event.setCancelled(true);
ChatSender.of(event).system(user.punishmentMessage(Punishment.PunishmentType.Ban)); ChatSender.of(event).system(user.punishmentMessage(Punishment.PunishmentType.Ban));
event.completeIntent(BungeeCore.get());
return; return;
} }