Use suggestion

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

Co-authored-by: allMagic <116283787+allMagicNB@users.noreply.github.com>
This commit is contained in:
凌云
2024-08-16 19:09:22 +08:00
committed by GitHub
co-authored by allMagic
parent 881e79dfdf
commit 0acd917e6b
@@ -799,7 +799,7 @@ LoginFinish:
Case McLoginType.Auth Case McLoginType.Auth
Dim ErrorResponse As AuthErrorResponse = ParseErrorResponse(ex) Dim ErrorResponse As AuthErrorResponse = ParseErrorResponse(ex)
If (ErrorResponse.errorMessage <> "") Then If (ErrorResponse.errorMessage <> "") Then
Throw New Exception("$登录失败,以下为可能的原因:" & vbCrLf & $" - {ErrorResponse.errorMessage}") Throw New Exception("$登录失败,以下为认证服务器提供的信息:" & vbCrLf & $" - {ErrorResponse.errorMessage}")
End If End If
Throw New Exception("$登录失败,以下为可能的原因:" & vbCrLf & Throw New Exception("$登录失败,以下为可能的原因:" & vbCrLf &
" - 输入的账号或密码错误。" & vbCrLf & " - 输入的账号或密码错误。" & vbCrLf &