From 977c665122dd1acc5182b804330b68bd0e6973f6 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sun, 19 May 2024 18:13:45 +0200 Subject: [PATCH] revert last commit --- 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 887e319..602f163 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() {