mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Fix ignores for cross-server messages
This commit is contained in:
1 parent
10e0270407
commit
2ee7c85a35
1 file changed
+4
@@ -66,6 +66,10 @@ public final class CarbonChatPacketHandler extends AbstractMessagingHandler {
|
||||
for (final var recipient : CarbonChatProvider.carbonChat().server().players()) {
|
||||
if (recipient.hasPermission(messagePacket.channelPermission() + ".see")) {
|
||||
if (recipient.hasPermission("carbon.crossserver")) {
|
||||
if (recipient.ignoring(messagePacket.userId())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
recipient.sendMessage(component);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user