Add missing impl

This commit is contained in:
Draycia committed 2021-05-21 03:59:13 -07:00
1 parent 83d755e356
commit a213ed8d9f
6 files changed
+27 -17

No files matched your search

@@ -38,9 +38,7 @@ public final class BukkitChatListener implements Listener {
for (final Player bukkitRecipient : event.recipients()) {
final var recipient = this.userManager.carbonPlayer(bukkitRecipient.getUniqueId());
// The naming is a little backwards, ChatChannel#mayReceiveMessages
// TODO: Change it at some point
if (recipient != null && channel.mayReceiveMessages(recipient)) {
if (recipient != null && channel.hearingPermitted(recipient).permitted()) {
recipients.add(recipient);
}
}