HMCL-dev / HMCL-dev/HMCL

[Bug] modpack.cfg的addons部分安装错误

Open
#3,902 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

平台 | Platform

Windows 11

问题描述 | Bug Description

使用服务端自动更新整合包更新addons部分时,如图升级 Fabric 0.16.8 —>0.16.14

Image

HCML 会先根据整合包内的 modpack.cfg 安装 Fabric 0.16.8 ,随后下载 files 部分,再根据服务器的 server-manifest.json 获取新的 modpack.cfg 并启动游戏,游戏安装了旧版本的 addons 可能会导致无法启动游戏,需要重新尝试启动才可以重新根据新的 modpack.cfg 安装正确的 addons。

可能需要调整一下加载 modpack.cfg 的顺序(?)

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

minecraft-exported-crash-info-2025-05-07T21-59-18.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows 11 server-side modpack update from the attached crash report and launcher logs. Trace when the bundled modpack.cfg, files section, and updated server-manifest.json are read; done when the updated addons are installed correctly on the first launch.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.