From 839d534f551ec9e31f8b857284d476adda28a7d8 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 3 May 2020 15:44:34 +0200 Subject: [PATCH] Hotfix local chat on server switching 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 7efe9e7..48e990b 100644 --- a/src/de/steamwar/bungeecore/listeners/ChatListener.java +++ b/src/de/steamwar/bungeecore/listeners/ChatListener.java @@ -101,7 +101,7 @@ public class ChatListener extends BasicListener { } Subserver subserver = Subserver.getSubserver(sender); - if(subserver != null && subserver.getType() == Servertype.ARENA) + if(subserver != null && subserver.getType() == Servertype.ARENA && subserver.getServer() == sender.getServer().getInfo()) return; e.setCancelled(true);