mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 22:16:22 +00:00
Add missing impl
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user