From f55d8e3415179df6844945bcddf7b72dd513e9f3 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 22 Oct 2019 17:51:13 +0200 Subject: [PATCH] Stopping abuse --- src/de/steamwar/bungeecore/listeners/ChatListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/listeners/ChatListener.java b/src/de/steamwar/bungeecore/listeners/ChatListener.java index 65fc95c..a065250 100644 --- a/src/de/steamwar/bungeecore/listeners/ChatListener.java +++ b/src/de/steamwar/bungeecore/listeners/ChatListener.java @@ -49,7 +49,7 @@ public class ChatListener extends BasicListener { } private void lixfelAlert(ProxiedPlayer sender){ - ProxyServer.getInstance().getPlayers().forEach(p -> LIXFEL.send(p)); + LIXFEL.send(sender); final String l = "§8Lixfel»" + sender.getName() + " §c"; BungeeCore.send(sender, ChatMessageType.ACTION_BAR, "§4§lTechnische Probleme?"); TaskScheduler scheduler = ProxyServer.getInstance().getScheduler();