Merge pull request #3945 from Silverteal/patch-1

所有4月1日发布的版本自动视为愚人节版
This commit is contained in:
龙腾猫跃
2024-07-29 05:45:40 +08:00
committed by GitHub
2 changed files with 16 additions and 0 deletions
@@ -44,6 +44,14 @@
Version("type") = "special"
Version.Add("lore", GetMcFoolName(Version("id")))
End Select
'所有4月1日发布的版本可视为愚人节版,但不改动版本描述
Select Case Version("releaseTime").Value(Of Date).ToString("MM'/'dd")
Case "04/01"
If Not Version("type") = "special" Then
Type = "愚人节版"
Version("type") = "special"
End If
End Select
Case "special"
'已被处理的愚人节版
Type = "愚人节版"