Skip to content

Commit c8a3fc3

Browse files
committed
update
1 parent a0fc43c commit c8a3fc3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/HMCLLocalizedDownloadListPage.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ public static DownloadListPage ofResourcePack(DownloadPage.DownloadCallback call
5050
}
5151

5252
public static DownloadListPage ofShaderPack(DownloadPage.DownloadCallback callback, boolean versionSelection) {
53-
return new HMCLLocalizedDownloadListPage(callback, versionSelection, RemoteModRepository.Type.SHADER_PACK, null, ModrinthRemoteModRepository.SHADER_PACKS);
53+
HMCLLocalizedDownloadListPage hmclLocalizedDownloadListPage = new HMCLLocalizedDownloadListPage(callback, versionSelection, RemoteModRepository.Type.SHADER_PACK, null, ModrinthRemoteModRepository.SHADER_PACKS);
54+
hmclLocalizedDownloadListPage.supportChinese.set(false);
55+
return hmclLocalizedDownloadListPage;
5456
}
5557

5658
private HMCLLocalizedDownloadListPage(DownloadPage.DownloadCallback callback, boolean versionSelection, RemoteModRepository.Type type, CurseForgeRemoteModRepository curseForge, ModrinthRemoteModRepository modrinth) {

0 commit comments

Comments
 (0)