geforkt von SteamWar/BungeeCore
Fix chat message recieving during arena change
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
99c1aa1741
Commit
0a235e64ed
@ -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){
|
||||
if(targetServer == null || targetServer.getType() != Servertype.ARENA || targetServer.getServer() != sender.getServer().getInfo()){
|
||||
BungeeCore.send(target, ChatMessageType.CHAT, msg);
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren