Skip to content

Commit 2bffafc

Browse files
authored
Merge pull request #8236 from PCL-Community/#8147
fix(download): OptiFine 与 LiteLoader 一并安装时安装路径错误
2 parents 8b49aea + c184cc2 commit 2bffafc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Plain Craft Launcher 2/Pages/PageDownload/ModDownloadLib.vb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2102,7 +2102,11 @@ Retry:
21022102
Dim OptiFineAsMod As Boolean = Request.OptiFineEntry IsNot Nothing AndAlso Modable '选择了 OptiFine 与任意 Mod 加载器
21032103
If OptiFineAsMod Then
21042104
Log("[Download] OptiFine 将作为 Mod 进行下载")
2105-
OptiFineFolder = ModsTempFolder
2105+
If Request.LiteLoaderEntry IsNot Nothing
2106+
OptiFineFolder = ModsTempFolder & Request.MinecraftName & "\" '#8147
2107+
Else
2108+
OptiFineFolder = ModsTempFolder
2109+
End If
21062110
End If
21072111

21082112
'记录日志

0 commit comments

Comments
 (0)