|
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; |
@@ -96,7 +95,7 @@ public DownloadPage(String uploadVersion) { |
96 | 95 | })); |
97 | 96 | modTab.setNodeSupplier(loadVersionFor(() -> HMCLLocalizedDownloadListPage.ofMod((profile, version, file) -> download(profile, version, file, "mods"), true))); |
98 | 97 | resourcePackTab.setNodeSupplier(loadVersionFor(() -> HMCLLocalizedDownloadListPage.ofResourcePack((profile, version, file) -> download(profile, version, file, "resourcepacks"), true))); |
99 | | - shaderTab.setNodeSupplier(loadVersionFor(() -> new DownloadListPage(ModrinthRemoteModRepository.SHADER_PACKS, (profile, version, file) -> download(profile, version, file, "shaderpacks"), true))); |
| 98 | + shaderTab.setNodeSupplier(loadVersionFor(() -> HMCLLocalizedDownloadListPage.ofShaderPack((profile, version, file) -> download(profile, version, file, "shaderpacks"), true))); |
100 | 99 | worldTab.setNodeSupplier(loadVersionFor(() -> new DownloadListPage(CurseForgeRemoteModRepository.WORLDS))); |
101 | 100 | tab = new TabHeader(transitionPane, newGameTab, modpackTab, modTab, resourcePackTab, shaderTab, worldTab); |
102 | 101 |
|
|
0 commit comments