1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-11-21 13:38:21 -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, Owner = worldOwnerName,
OwnerUUID = worldOwnerUuid, OwnerUUID = worldOwnerUuid,
Name = worldName, Name = worldName,
Motd = world.Motd.Replace("<22>", "§"), Motd = world.Motd.Replace("<22>", "§").Replace("&", "§"),
State = worldState, State = worldState,
WorldType = "NORMAL", WorldType = "NORMAL",
MaxPlayers = 10, MaxPlayers = 10,