From c89ebf3b193a1f5b64b0275ba4d4d0cfc85eae5b Mon Sep 17 00:00:00 2001 From: wyc-26 Date: Thu, 26 Mar 2026 17:46:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(download):=20=E6=9C=AA=E9=80=82=E9=85=8D=20?= =?UTF-8?q?Neoforge=20=E6=96=B0=E7=89=88=E6=9C=AC=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E8=A7=84=E5=88=99=E5=AF=BC=E8=87=B4=E6=89=BE=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=2026.1=20=E5=8C=B9=E9=85=8D=E7=9A=84=20Neoforge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plain Craft Launcher 2/Modules/Minecraft/ModDownload.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plain Craft Launcher 2/Modules/Minecraft/ModDownload.vb b/Plain Craft Launcher 2/Modules/Minecraft/ModDownload.vb index 5840fd3..f535386 100644 --- a/Plain Craft Launcher 2/Modules/Minecraft/ModDownload.vb +++ b/Plain Craft Launcher 2/Modules/Minecraft/ModDownload.vb @@ -858,7 +858,7 @@ VersionName = ApiName Version = New Version(ApiName.BeforeFirst("-")) If Version.Major >= 24 Then - Inherit = Version.ToString.Replace(".0", "") + Inherit = Version.Major & "." & Version.Minor Else Inherit = "1." & Version.Major & If(Version.Minor > 0, "." & Version.Minor, "") End If