1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2025-04-04 06:58:37 -04:00

Compare commits

..

No commits in common. "49bb02f3cf77977ccfeee4340a5a1575b363a549" and "3972d0eb054fd2fc36182be537d50806c98f860b" have entirely different histories.

View File

@ -46,12 +46,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 = !isBanned ? "OPEN" : "CLOSED";
if (!isCompatibleOnOlderVersions)
{
worldState = "CLOSED";
}
string worldState = isCompatibleOnOlderVersions || !isBanned ? "OPEN" : "CLOSED";
WorldResponse response = new()
{