FancyMenu Conflict: `controlify:open-settings` action ID still on the LTS branch

未关闭 适合新手
#1,029 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
83/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
java
领域
backend

调研方向

阅读lts分支上的compatibility/fancymenu/OpenControlifySettingsAction.java,并将其操作 ID 与main上的提交 d11ab34 中的修复进行比较。回移植标识符更改,然后在 Fabric 1.21.1 上使用 FancyMenu 3.11.0 和 Controlify 3.0.1 LTS 启动;当操作注册时不再出现非法字符错误,且 FancyMenu 兼容性仍处于启用状态,即表示完成。

由索引模型根据 Issue 内容生成。

描述

mod-compatibility

Mod Info (fill out the following information)

  • Mod name: FancyMenu
  • Mod version: 3.11.0 for 1.21.1 (Fabric)

Describe the problem
On the lts branch, Controlify's FancyMenu compat registers the action controlify:open-settings (OpenControlifySettingsAction.java#L13). FancyMenu doesn't allow : in action identifiers, so the registration throws and Controlify disables its whole FancyMenu compat for the instance.

This is already fixed on main in d11ab34 (#1026), but lts still uses the old ID, so the 3.0.x LTS builds are still affected. It can't be fixed on FancyMenu's side.
Our issue: https://github.com/Keksuccino/FancyMenu/issues/1910

To Reproduce

  1. Install FancyMenu 3.11.0 and Controlify 3.0.1 LTS on Fabric 1.21.1
  2. Launch the game
  3. See this in the log during client startup:
[FANCYMENU] Tried to register action with illegal character ':' in identifier: controlify:open-settings
Failed to run compatibility code for fancymenu, potentially unsupported version? Disabling 'fancymenu' compat for this instance.

Expected behavior
The action registers and the FancyMenu compat stays on.

Screenshots
N/A

Minecraft Info (please complete the following information):

  • OS: Any (not OS-specific)
  • Minecraft Version: 1.21.1 (Fabric Loader 0.20.1, Fabric API 0.116.18)
  • Controlify Version: 3.0.1+lts

Additional context
Possible fix: backport d11ab34 to lts, so change super("controlify:open-settings") to super("controlify-open-settings") in compatibility/fancymenu/OpenControlifySettingsAction.java.

主要语言
Java
星标
361
派生
112
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

isXander/Controlify 的其他 Issue

查看 isXander/Controlify 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。