Skip to content

Commit

Permalink
🐛 サーバー内から送信されたメッセージが非表示にならないバグを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Jul 5, 2023
1 parent 796e9b7 commit b755e60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.azisaba</groupId>
<artifactId>RyuZUPluginChat</artifactId>
<version>4.4.2</version>
<version>4.4.3</version>
<packaging>jar</packaging>

<name>${project.artifactId}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ public void processChannelChatMessage(ChannelChatMessageData data) {
.contains(p)) {
return true;
}
return p.hasPermission("rpc.op");
return p.hasPermission("rpc.op") &&
plugin.getChannelChatInspectHandler().isVisible(p.getUniqueId());
})
.filter(p -> !deafenPlayers.contains(p.getUniqueId()))
.collect(Collectors.toCollection(HashSet<Player>::new))
Expand Down

0 comments on commit b755e60

Please sign in to comment.