Skip to content

Commit

Permalink
up 小bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloryr committed Jun 15, 2024
1 parent 0fc16e4 commit 1c4908e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ColorMC.Core/Helpers/CheckHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ public static bool IsGameVersion120(string version)
public static bool IsGameVersion1202(string version)
{
Version version1 = new(version);
if (version1.Minor > 20)
{
return true;
}
return version1.Minor >= 20 && version1.Build >= 2;
}

Expand Down

0 comments on commit 1c4908e

Please sign in to comment.