mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
Improve cross server ignoring
This commit is contained in:
1 parent
5c34d914a5
commit
cdee6887fb
2 files changed
+10
-3
No files matched your search
@@ -159,7 +159,9 @@ public class CarbonChatChannel extends ChatChannel {
|
||||
@Override
|
||||
public void sendComponent(ChatUser player, Component component) {
|
||||
for (ChatUser user : getAudience(player)) {
|
||||
user.sendMessage(component);
|
||||
if (!user.isIgnoringUser(player)) {
|
||||
user.sendMessage(component);
|
||||
}
|
||||
}
|
||||
|
||||
System.out.println(LegacyComponentSerializer.legacySection().serialize(component));
|
||||
|
||||
Reference in new issue
Block a user