mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2025-04-02 14:08:36 -04:00
Compare commits
2 Commits
88974eee33
...
2245a95d55
Author | SHA1 | Date | |
---|---|---|---|
2245a95d55 | |||
617ab4c11a |
@ -59,7 +59,10 @@ namespace MyMcRealms.Controllers
|
||||
{
|
||||
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
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ namespace Minecraft_Realms_Emulator.Middlewares
|
||||
ErrorResponse errorResponse = new()
|
||||
{
|
||||
ErrorCode = 403,
|
||||
ErrorMsg = "This world isn't owner by anyone"
|
||||
ErrorMsg = "This world isn't owned by anyone"
|
||||
};
|
||||
|
||||
httpContext.Response.StatusCode = 403;
|
||||
|
Loading…
x
Reference in New Issue
Block a user