From 7f7444249c1e1e116631b84dd2f77355fd88a0a9 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Mon, 16 Sep 2024 12:42:05 +0200 Subject: [PATCH] feat: also replace `&` --- MyMcRealms/Controllers/WorldsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MyMcRealms/Controllers/WorldsController.cs b/MyMcRealms/Controllers/WorldsController.cs index 764a471..166e111 100644 --- a/MyMcRealms/Controllers/WorldsController.cs +++ b/MyMcRealms/Controllers/WorldsController.cs @@ -59,7 +59,7 @@ namespace MyMcRealms.Controllers Owner = worldOwnerName, OwnerUUID = worldOwnerUuid, Name = worldName, - Motd = world.Motd.Replace("�", "§"), + Motd = world.Motd.Replace("�", "§").Replace("&", "§"), State = worldState, WorldType = "NORMAL", MaxPlayers = 10,