geforkt von SteamWar/BungeeCore
Hotfix arena chat
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
0a235e64ed
Commit
61c2a7f3a6
@ -146,7 +146,7 @@ public class ChatListener extends BasicListener {
|
|||||||
}
|
}
|
||||||
for(ProxiedPlayer target : ProxyServer.getInstance().getPlayers()){
|
for(ProxiedPlayer target : ProxyServer.getInstance().getPlayers()){
|
||||||
Subserver targetServer = Subserver.getSubserver(target);
|
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);
|
BungeeCore.send(target, ChatMessageType.CHAT, msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren