We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a1379b commit a3c2badCopy full SHA for a3c2bad
plugin/src/main/java/at/helpch/chatchat/channel/ChatChannel.java
@@ -52,8 +52,8 @@ public String toString() {
52
@Override
53
public Set<User> targets(final @NotNull User source) {
54
55
- final Predicate<User> filterIgnores = user -> !user.ignoredUsers().contains(source.uuid()) ||
56
- source instanceof ChatUser && source.hasPermission(IgnoreCommand.IGNORE_BYPASS_PERMISSION);
+ final Predicate<User> filterIgnores = user -> user instanceof ChatUser &&
+ (!user.ignoredUsers().contains(source.uuid()) || source.hasPermission(IgnoreCommand.IGNORE_BYPASS_PERMISSION));
57
58
if (plugin.configManager().channels().defaultChannel().equals(this.name()))
59
return plugin.usersHolder().users().stream()
0 commit comments