From dca802bb37bdabc47f7f2fd9ba43619c3043e5af Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sun, 19 May 2024 17:13:17 +0200 Subject: [PATCH] fix: world state on older version --- MyMcRealms/Controllers/WorldsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MyMcRealms/Controllers/WorldsController.cs b/MyMcRealms/Controllers/WorldsController.cs index 602f163..887e319 100644 --- a/MyMcRealms/Controllers/WorldsController.cs +++ b/MyMcRealms/Controllers/WorldsController.cs @@ -44,7 +44,7 @@ namespace MyMcRealms.Controllers string worldOwnerName = world.Ops.ToArray().Length == 0 ? "Owner" : world.Ops[0].Name; string worldOwnerUuid = world.Ops.ToArray().Length == 0 ? "069a79f444e94726a5befca90e38aaf5" : world.Ops[0].Uuid; string worldName = world.Ops.ToArray().Length == 0 ? world.ServerName : $"{world.Ops[0].Name}'s server"; - string worldState = isCompatibleOnOlderVersions || !isBanned ? "OPEN" : "CLOSED"; + string worldState = isCompatibleOnOlderVersions && !isBanned ? "OPEN" : "CLOSED"; WorldResponse response = new() {