mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2025-07-03 18:59:41 -04:00
fix: motd cutting on newer version
This commit is contained in:
@ -59,7 +59,10 @@ 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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user