Skip to content

Commit 4a95d47

Browse files
wyc-26LinQingYuu
andauthored
漏改一处
Co-authored-by: 薄奚梦灵 <boximengling@outlook.com>
1 parent e5690d7 commit 4a95d47

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
@@ -1439,7 +1439,7 @@ Retry:
14391439
End If
14401440

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

0 commit comments

Comments
 (0)