mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-04-18 18:40:34 +08:00
fix: sometimes cannot edit modpack versiojn settings
This commit is contained in:
parent
a2ef477ae0
commit
476c41b29b
@ -81,6 +81,11 @@ public class HMCLGameRepository extends DefaultGameRepository {
|
||||
localVersionSettings.clear();
|
||||
super.refreshVersionsImpl();
|
||||
versions.keySet().forEach(this::loadLocalVersionSetting);
|
||||
versions.keySet().forEach(version -> {
|
||||
if (isModpack(version)) {
|
||||
specializeVersionSetting(version);
|
||||
}
|
||||
});
|
||||
|
||||
try {
|
||||
File file = new File(getBaseDirectory(), "launcher_profiles.json");
|
||||
|
Loading…
x
Reference in New Issue
Block a user