Merge pull request #7906 from MoYuan-CN/fix/7904
fix(ModDownload): 跟进新的 NeoForge 命名方式以正确识别测试版
This commit is contained in:
@@ -844,7 +844,7 @@
|
|||||||
Public Sub New(ApiName As String)
|
Public Sub New(ApiName As String)
|
||||||
IsNeoForge = True
|
IsNeoForge = True
|
||||||
Me.ApiName = ApiName
|
Me.ApiName = ApiName
|
||||||
IsBeta = ApiName.Contains("beta")
|
IsBeta = ApiName.Contains("beta") OrElse ApiName.Contains("alpha")
|
||||||
If ApiName.Contains("1.20.1") Then '1.20.1-47.1.99
|
If ApiName.Contains("1.20.1") Then '1.20.1-47.1.99
|
||||||
VersionName = ApiName.Replace("1.20.1-", "")
|
VersionName = ApiName.Replace("1.20.1-", "")
|
||||||
Version = New Version("19." & VersionName)
|
Version = New Version("19." & VersionName)
|
||||||
|
|||||||
Reference in New Issue
Block a user