Skip to content

Commit

Permalink
fix: message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythologyli committed Aug 24, 2023
1 parent c8c26c5 commit 8bded43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public SimpleWebChatComponent(final DynmapCore plugin, final ConfigurationNode c
@Override
public void triggered(ChatEvent t) {
if(plugin.getServer().sendWebChatEvent(t.source, t.name, t.message)) {
if (!t.message.contains("[QQ]") && !t.message.contains("[KOOK]")) {
if (!t.name.contains("[QQ]") && !t.name.contains("[KOOK]")) {
String msg;
String msgfmt = plugin.configuration.getString("webmsgformat", null);
if (msgfmt != null) {
Expand Down

0 comments on commit 8bded43

Please sign in to comment.