Skip to content

docs: 修正 Hook 音频播放器示例 - #541

Open
helantianshen wants to merge 1 commit into
mcpp-community:mainfrom
helantianshen:docs/fix-audioplayer-bgm
Open

docs: 修正 Hook 音频播放器示例#541
helantianshen wants to merge 1 commit into
mcpp-community:mainfrom
helantianshen:docs/fix-audioplayer-bgm

Conversation

@helantianshen

Copy link
Copy Markdown
Contributor

说明

当前文档使用 mcpp-hooks-audioplayer bgm 演示 during_build,但已发布的 mcpp-hooks-audioplayer 0.0.1 只支持 niulai-mmniulai-niulai。复制原示例会使 Hook 命令以参数错误退出。

修改

  • 从中英文配置示例和音频应用示例中删除不存在的 bgm 子命令。
  • 音频应用示例只保留已实现的构建成功、失败提示音。
  • during_build 的闭合顺序说明改为通用表述,保留该功能的完整行为说明。

验证

  • git diff --check:通过。
  • 两份文档中搜索 mcpp-hooks-audioplayer bgm:无匹配。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant