From 61c2a7f3a621086dc1a0202526653dbd6f3ed11a Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 4 Jul 2020 18:10:30 +0200 Subject: [PATCH] Hotfix arena chat Signed-off-by: Lixfel --- 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 c94061f6..bfcf1f06 100644 --- a/src/de/steamwar/bungeecore/listeners/ChatListener.java +++ b/src/de/steamwar/bungeecore/listeners/ChatListener.java @@ -146,7 +146,7 @@ public class ChatListener extends BasicListener { } for(ProxiedPlayer target : ProxyServer.getInstance().getPlayers()){ Subserver targetServer = Subserver.getSubserver(target); - if(targetServer == null || targetServer.getType() != Servertype.ARENA || targetServer.getServer() != sender.getServer().getInfo()){ + if(targetServer == null || targetServer.getType() != Servertype.ARENA || targetServer.getServer() != target.getServer().getInfo()){ BungeeCore.send(target, ChatMessageType.CHAT, msg); } }