fix: Browse Mod Directory Button in ModListPage does not work. Closes #1039.

This commit is contained in:
huanghongxun
2021-09-16 16:24:08 +08:00
parent ba41e6bc5e
commit e10e1e0613

View File

@@ -82,7 +82,7 @@ public final class ModListPage extends ListPageBase<ModListPageSkin.ModInfoObjec
@Override
public void loadVersion(Profile profile, String id) {
this.profile = profile;
this.versionId = versionId;
this.versionId = id;
libraryAnalyzer = LibraryAnalyzer.analyze(profile.getRepository().getResolvedPreservingPatchesVersion(id));
modded.set(libraryAnalyzer.hasModLoader());