Skip to content

Commit

Permalink
awa
Browse files Browse the repository at this point in the history
  • Loading branch information
wuliaodexiaoluo authored Nov 5, 2024
1 parent 8c86f02 commit 23bbc3e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Plain Craft Launcher 2/Modules/Minecraft/ModLaunch.vb
Original file line number Diff line number Diff line change
Expand Up @@ -722,10 +722,7 @@ LoginFinish:
Headers:=New Dictionary(Of String, String) From {{"Accept-Language", "zh_CN"}},
ContentType:="application/json; charset=utf-8"
)
If Not LittleSkinToken(0) Then
Log($"刷新登陆时出现错误,本次请求 ID 为 {GetJson(LittleSkinToken(3))('X-Yggdralt-Req-ID')},如果需要帮助,请务必提供此 ID",LogLevel.Msgbox)
Return
End If
If Not LittleSkinToken(0) Then Throw New Exception($"刷新登陆失败,请求 ID 为 {LittleSkinToken(3)('X-Yggdralt-Req-ID')}")
LittleSkinToken = GetJson(LittleSkinToken(1))
AccessToken = LittleSkinToken("access_token").ToString
RefreshToken = LittleSkinToken("refresh_token").ToString
Expand Down

0 comments on commit 23bbc3e

Please sign in to comment.