Really fix clans chat this time
This commit is contained in:
parent
48e8a7e451
commit
6cc2b96666
|
@ -1063,13 +1063,8 @@ public class ClansManager extends MiniClientPlugin<ClientClan> implements IRelat
|
|||
@EventHandler(ignoreCancelled = true)
|
||||
public void handlePlayerChat(FormatPlayerChatEvent event)
|
||||
{
|
||||
if (event.getChatChannel() != ChatChannel.PUBLIC)
|
||||
if (event.getChatChannel() == ChatChannel.COMMUNITY)
|
||||
{
|
||||
if (event.getChatChannel() == ChatChannel.TEAM)
|
||||
{
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue