Sfoglia il codice sorgente

fix:强制使用 HTTPS 避免获取皮肤错误

薄奚梦灵 1 anno fa
parent
commit
cfa7ce16bd

+ 1 - 1
Plain Craft Launcher 2/Modules/Minecraft/ModMinecraft.vb

@@ -1595,7 +1595,7 @@ OnLoaded:
         Try
             For Each SkinProperty In GetJson(SkinString)("properties")
                 If SkinProperty("name") = "textures" Then
-                    SkinValue = SkinProperty("value")
+                    SkinValue = SkinProperty("value").Replace("http:","https:")
                     Exit Try
                 End If
             Next