mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
apply changes from review
This commit is contained in:
3 files changed
+8
-6
No files matched your search
@@ -325,11 +325,7 @@ public class CarbonChatChannel extends ChatChannel {
|
||||
}
|
||||
|
||||
if (isIgnorable()) {
|
||||
if (target.isIgnoringUser(sender) && !targetPlayer.hasPermission("carbonchat.ignore.exempt")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return !target.getChannelSettings(this).isIgnored();
|
||||
return !target.isIgnoringUser(sender) || targetPlayer.hasPermission("carbonchat.ignore.exempt");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user