|
25 | 25 | import org.jackhuang.hmcl.download.game.GameRemoteVersion; |
26 | 26 | import org.jackhuang.hmcl.mod.RemoteMod; |
27 | 27 | import org.jackhuang.hmcl.mod.curse.CurseForgeRemoteModRepository; |
28 | | -import org.jackhuang.hmcl.mod.modrinth.ModrinthRemoteModRepository; |
29 | 28 | import org.jackhuang.hmcl.setting.DownloadProviders; |
30 | 29 | import org.jackhuang.hmcl.setting.Profile; |
31 | 30 | import org.jackhuang.hmcl.setting.Profiles; |
@@ -100,7 +99,7 @@ public DownloadPage(String uploadVersion) { |
100 | 99 | })); |
101 | 100 | modTab.setNodeSupplier(loadVersionFor(() -> HMCLLocalizedDownloadListPage.ofMod((profile, version, file) -> download(profile, version, file, "mods"), true))); |
102 | 101 | resourcePackTab.setNodeSupplier(loadVersionFor(() -> HMCLLocalizedDownloadListPage.ofResourcePack((profile, version, file) -> download(profile, version, file, "resourcepacks"), true))); |
103 | | - shaderTab.setNodeSupplier(loadVersionFor(() -> new DownloadListPage(ModrinthRemoteModRepository.SHADER_PACKS, (profile, version, file) -> download(profile, version, file, "shaderpacks"), true))); |
| 102 | + shaderTab.setNodeSupplier(loadVersionFor(() -> HMCLLocalizedDownloadListPage.ofShaderPack((profile, version, file) -> download(profile, version, file, "shaderpacks"), true))); |
104 | 103 | worldTab.setNodeSupplier(loadVersionFor(() -> new DownloadListPage(CurseForgeRemoteModRepository.WORLDS))); |
105 | 104 | tab = new TabHeader(newGameTab, modpackTab, modTab, resourcePackTab, shaderTab, worldTab); |
106 | 105 |
|
|
0 commit comments