From e19f9102519d79876a838f53c1dc09ff802a44ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=84=E5=A5=9A=E6=A2=A6=E7=81=B5?= Date: Sat, 31 May 2025 18:41:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8F=AF=E8=83=BD=E5=9C=A8=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=AD=A3=E7=89=88=E7=9A=AE=E8=82=A4=E6=97=B6=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plain Craft Launcher 2/Modules/Minecraft/ModMinecraft.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plain Craft Launcher 2/Modules/Minecraft/ModMinecraft.vb b/Plain Craft Launcher 2/Modules/Minecraft/ModMinecraft.vb index efc596e..d532ff2 100644 --- a/Plain Craft Launcher 2/Modules/Minecraft/ModMinecraft.vb +++ b/Plain Craft Launcher 2/Modules/Minecraft/ModMinecraft.vb @@ -1596,7 +1596,7 @@ OnLoaded: Try For Each SkinProperty In GetJson(SkinString)("properties") If SkinProperty("name") = "textures" Then - SkinValue = SkinProperty("value").Replace("http:", "https:") + SkinValue = SkinProperty("value") Exit Try End If Next @@ -1610,7 +1610,7 @@ OnLoaded: If SkinJson("textures") Is Nothing OrElse SkinJson("textures")("skin") Is Nothing OrElse SkinJson("textures")("skin")("url") Is Nothing Then Throw New Exception("用户未设置自定义皮肤") Else - SkinValue = SkinJson("textures")("skin")("url").ToString + SkinValue = SkinJson("textures")("skin")("url").ToString.Replace("http:", "https:") End If '保存缓存 WriteIni(PathTemp & "Cache\Skin\Index" & Type & ".ini", Uuid, SkinValue)