1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-09-19 16:02:51 -04:00

revert the fix as it broke newer versions lol

This commit is contained in:
CyberL1 2024-09-08 21:43:20 +02:00
parent 27f9435a6a
commit 44a86e2733

View File

@ -48,10 +48,10 @@ namespace MyMcRealms.Controllers
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 = !isBanned ? "OPEN" : "CLOSED"; string worldState = !isBanned ? "OPEN" : "CLOSED";
if (!isCompatibleOnOlderVersions) // if (!isCompatibleOnOlderVersions)
{ // {
worldState = "CLOSED"; // worldState = "CLOSED";
} // }
WorldResponse response = new() WorldResponse response = new()
{ {