1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-11-24 06:58:22 -05:00

remove Console.WriteLine

This commit is contained in:
CyberL1 2024-09-08 21:00:01 +02:00
parent ecd0b3e020
commit 0b4291e873

View File

@ -39,7 +39,6 @@ namespace MyMcRealms.Controllers
string isCompatible = versionsCompared == 0 ? "COMPATIBLE" : versionsCompared < 0 ? "NEEDS_DOWNGRADE" : "NEEDS_UPGRADE";
bool isOlderVersion = SemVersion.Parse(gameVerision, SemVersionStyles.OptionalPatch).ComparePrecedenceTo(SemVersion.Parse("1.20.3", SemVersionStyles.OptionalPatch)) < 0;
//Console.WriteLine(isOlderVersion);
bool isCompatibleOnOlderVersions = isOlderVersion && !isCompatible.StartsWith("NEEDS_");
bool isBanned = world.Banlist.Any(p => p.Name == playerName);