mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-12-23 21:08:22 -05:00
fix: compatibility check
This commit is contained in:
parent
95e4a37cb0
commit
70d3e0d686
@ -41,7 +41,7 @@ namespace MyMcRealms.Controllers
|
||||
{
|
||||
int versionsCompared = SemVersion.Parse(gameVerision, SemVersionStyles.Strict).ComparePrecedenceTo(SemVersion.Parse(world.GameVersion, SemVersionStyles.Strict));
|
||||
|
||||
string isCompatible = versionsCompared == 0 ? "COMPATIBLE" : versionsCompared > 0 ? "NEEDS_DOWNGRADE" : "NEEDS_UPGRADE";
|
||||
string isCompatible = versionsCompared == 0 ? "COMPATIBLE" : versionsCompared < 0 ? "NEEDS_DOWNGRADE" : "NEEDS_UPGRADE";
|
||||
|
||||
WorldResponse response = new()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user