1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-12-24 05:18:23 -05:00

feat: also replace &

This commit is contained in:
CyberL1 2024-09-16 12:42:05 +02:00
parent abcf7b87e2
commit 7f7444249c

View File

@ -59,7 +59,7 @@ namespace MyMcRealms.Controllers
Owner = worldOwnerName,
OwnerUUID = worldOwnerUuid,
Name = worldName,
Motd = world.Motd.Replace("<22>", "§"),
Motd = world.Motd.Replace("<22>", "§").Replace("&", "§"),
State = worldState,
WorldType = "NORMAL",
MaxPlayers = 10,