mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-12-24 21:38:23 -05:00
fix: motd cutting on newer version
This commit is contained in:
parent
88974eee33
commit
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user