1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2025-04-04 06:58:37 -04:00

Compare commits

...

2 Commits

Author SHA1 Message Date
7f7444249c feat: also replace & 2024-09-16 12:42:05 +02:00
abcf7b87e2 fix: replace invalid character for use with color codes 2024-09-16 12:23:55 +02:00

View File

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