From 21c8d48b69944da377b56bc803c51eb95c3d0d9a Mon Sep 17 00:00:00 2001 From: Kalle Date: Sun, 5 Jan 2025 15:43:22 +0100 Subject: [PATCH] fix: log first and execute afterwards --- src/MapModifiers+ExecuteServerCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MapModifiers+ExecuteServerCommands.cs b/src/MapModifiers+ExecuteServerCommands.cs index 5ca73c0..d50cf10 100644 --- a/src/MapModifiers+ExecuteServerCommands.cs +++ b/src/MapModifiers+ExecuteServerCommands.cs @@ -15,10 +15,10 @@ private void ServerCommandsOnMapStart(string mapName) // server commands foreach (var command in mapConfig.ServerCommands) { - Server.ExecuteCommand(command); Console.WriteLine(Localizer["servercommands.execute"].Value .Replace("{command}", command) .Replace("{mapName}", mapName)); + Server.ExecuteCommand(command); } }); }