Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 748e6cbc69
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // 原消息内容 | ||
| chatParam.setMessage(message); | ||
| // 快捷键节点替换 | ||
| ShortcutUtil.convert(player, channel, chatParam); |
There was a problem hiding this comment.
Evaluate shortcuts before mention rewriting
This call runs after ChatUtil.at(...) has already rewritten the user’s input (it can prepend @ and inject color formatting when a token matches an online player), but ShortcutUtil.convert matches against chatParam.getMessage() rather than the raw chat text. In practice, a shortcut pattern that should match the original input can stop matching whenever the same word is also a player name, so trigger behavior becomes dependent on who is online.
Useful? React with 👍 / 👎.
No description provided.