Skip to content

Commit e5690d7

Browse files
committed
fix(ModLaunch): 这代码怎么写的……
1 parent 2e11651 commit e5690d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plain Craft Launcher 2/Modules/Minecraft/ModLaunch.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ NextVersion:
15141514
End If
15151515

15161516
'设置代理
1517-
If Setup.Get("VersionUseProxyV2", Version:=McVersionCurrent) IsNot Nothing AndAlso Not String.IsNullOrWhiteSpace(Setup.Get("SystemHttpProxy")) Then
1517+
If Setup.Get("VersionAdvanceUseProxyV2", Version:=McVersionCurrent) IsNot Nothing AndAlso Not String.IsNullOrWhiteSpace(Setup.Get("SystemHttpProxy")) Then
15181518
Dim ProxyAddress As New Uri(Setup.Get("SystemHttpProxy"))
15191519
DataList.Add($"-D{If(ProxyAddress.Scheme.ToString.StartsWithF("https:"), "https", "http")}.proxyHost={ProxyAddress.AbsoluteUri}")
15201520
DataList.Add($"-D{If(ProxyAddress.Scheme.ToString.StartsWithF("https:"), "https", "http")}.proxyPort={ProxyAddress.Port}")

0 commit comments

Comments
 (0)