Skip to content

Commit

Permalink
修正逻辑错误
Browse files Browse the repository at this point in the history
  • Loading branch information
wuliaodexiaoluo committed Dec 21, 2024
1 parent 809f76e commit e097916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
''' 当前页面的登录信息是否有效。
''' </summary>
Public Shared Function IsVaild(LoginData As McLoginServer) As String
If LittleSkinClientId IsNot Nothing Then Return ""
If Not LittleSkinClientId = "" Then Return ""
If LoginData.UserName = "" Then Return "账号不能为空!"
If LoginData.Password = "" Then Return "密码不能为空!"
Return ""
Expand Down
4 changes: 1 addition & 3 deletions Plain Craft Launcher 2/Pages/PageSetup/ModSetup.vb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
{"CacheAuthRefresh", New SetupEntry("", Source:=SetupSource.Registry, Encoded:=True)},
{"CacheAuthIDToken", New SetupEntry("", Source:=SetupSource.Registry, Encoded:=True)},
{"CacheAuthAPIToken", New SetupEntry("", Source:=SetupSource.Registry, Encoded:=True)},
{"CacheAuthLogin",New SetupEntry($"{'https://littleskin.cn/api/yggdrasil':'{LittleSkinClientId}'",Source:=SetupSource.Registry, Encoded:=True)},
{"CacheDownloadFolder", New SetupEntry("", Source:=SetupSource.Registry)},
{"CacheJavaListVersion", New SetupEntry(0, Source:=SetupSource.Registry)},
{"LoginRemember", New SetupEntry(True, Source:=SetupSource.Registry, Encoded:=True)},
Expand Down Expand Up @@ -187,8 +186,7 @@
{"VersionServerNide", New SetupEntry("", Source:=SetupSource.Version)},
{"VersionServerAuthRegister", New SetupEntry("", Source:=SetupSource.Version)},
{"VersionServerAuthName", New SetupEntry("", Source:=SetupSource.Version)},
{"VersionServerAuthServer", New SetupEntry("", Source:=SetupSource.Version)}

{"VersionServerAuthServer", New SetupEntry("", Source:=SetupSource.Version)}}
#Region "基础"

Private Enum SetupSource
Expand Down

0 comments on commit e097916

Please sign in to comment.