1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2025-04-03 14:38:36 -04:00

Compare commits

...

2 Commits

Author SHA1 Message Date
44a86e2733 revert the fix as it broke newer versions lol 2024-09-08 21:43:20 +02:00
27f9435a6a fix: typo 2024-09-08 21:13:06 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -155,7 +155,7 @@ namespace MyMcRealms.Controllers
ErrorResponse errorResponse = new() ErrorResponse errorResponse = new()
{ {
ErrorCode = 400, ErrorCode = 400,
ErrorMsg = "You with lmao" ErrorMsg = "You wish lmao"
}; };
return BadRequest(errorResponse); return BadRequest(errorResponse);

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()
{ {