mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Add ignore exemption permission
This commit is contained in:
1 parent
e165eaf59a
commit
e443708186
1 file changed
+1
-1
@@ -185,7 +185,7 @@ public class SimpleChatChannel extends ChatChannel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isIgnorable()) {
|
if (isIgnorable()) {
|
||||||
if (simpleChat.playerHasPlayerIgnored(sender, target)) {
|
if (simpleChat.playerHasPlayerIgnored(sender, target) && !target.hasPermission("simplechat.ignoreexempt")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user