1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2025-04-10 18:08:36 -04:00

Compare commits

..

No commits in common. "2245a95d5570399876215e56147a07729c65bd2b" and "88974eee332efac00f9f38ee225c3d13bb3eaa01" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -59,10 +59,7 @@ namespace MyMcRealms.Controllers
{ {
world.Motd = world.Motd.Remove(32); // Pre 1.19.4 MOTD limit world.Motd = world.Motd.Remove(32); // Pre 1.19.4 MOTD limit
} }
} else if (world.Motd.Length > 52)
else
{
if (world.Motd.Length > 52)
{ {
world.Motd = world.Motd.Remove(52); // Post 1.19.4 MOTD limit world.Motd = world.Motd.Remove(52); // Post 1.19.4 MOTD limit
} }

View File

@ -41,7 +41,7 @@ namespace Minecraft_Realms_Emulator.Middlewares
ErrorResponse errorResponse = new() ErrorResponse errorResponse = new()
{ {
ErrorCode = 403, ErrorCode = 403,
ErrorMsg = "This world isn't owned by anyone" ErrorMsg = "This world isn't owner by anyone"
}; };
httpContext.Response.StatusCode = 403; httpContext.Response.StatusCode = 403;