Parcourir la source

fix: mismatched neoforge type description

MoYuan-CN il y a 10 mois
Parent
commit
6dc9dadf1c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Plain Craft Launcher 2/Modules/Minecraft/ModDownload.vb

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

@@ -844,7 +844,7 @@
         Public Sub New(ApiName As String)
             IsNeoForge = True
             Me.ApiName = ApiName
-            IsBeta = ApiName.Contains("beta")
+            IsBeta = ApiName.Contains("beta") Or ApiName.Contains("alpha=")
             If ApiName.Contains("1.20.1") Then '1.20.1-47.1.99
                 VersionName = ApiName.Replace("1.20.1-", "")
                 Version = New Version("19." & VersionName)