Fix the chat pref targetting the wrong player
This commit is contained in:
parent
e059dc6818
commit
ca22992034
@ -821,7 +821,7 @@ public class Chat extends MiniPlugin
|
||||
|
||||
if (channel.isModerated())
|
||||
{
|
||||
event.getRecipients().removeIf(player -> !preferences.isActive(Preference.SHOW_CHAT));
|
||||
event.getRecipients().removeIf(recipient -> !_preferencesManager.get(recipient).isActive(Preference.SHOW_CHAT));
|
||||
}
|
||||
|
||||
if (customEvent.isFiltered())
|
||||
|
Loading…
Reference in New Issue
Block a user