mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Merge branch 'master' into refactor/commands
This commit is contained in:
1 file changed
+6
-2
@@ -66,6 +66,12 @@ public class FilterHandler implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.getUser().isOnline()) {
|
||||
if (event.getUser().asPlayer().hasPermission("carbonchat.filter.exempt")) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!channelUsesFilter(event.getChannel())) {
|
||||
return;
|
||||
}
|
||||
@@ -101,6 +107,4 @@ public class FilterHandler implements Listener {
|
||||
return filter instanceof Boolean && ((Boolean) filter);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user