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

revert last commit

This commit is contained in:
CyberL1 2024-05-19 18:13:45 +02:00
parent dca802bb37
commit 977c665122

View File

@ -44,7 +44,7 @@ namespace MyMcRealms.Controllers
string worldOwnerName = world.Ops.ToArray().Length == 0 ? "Owner" : world.Ops[0].Name; 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 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 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() WorldResponse response = new()
{ {