Format Style Fixes

This commit is contained in:
sp-tarkov-bot
2025-12-31 10:18:04 +00:00
parent 95fa698d87
commit 5a072be9c1
+14 -9
View File
@@ -49,7 +49,10 @@ public static class Program
)
)
{
ShowRedConsoleMessage(e, "You may have installed a mod that needs a newer version of of SPT installed. Please try updating SPT");
ShowRedConsoleMessage(
e,
"You may have installed a mod that needs a newer version of of SPT installed. Please try updating SPT"
);
Console.ReadLine();
return;
@@ -57,13 +60,19 @@ public static class Program
if (e.Message.Contains("could not load file or assembly", StringComparison.InvariantCultureIgnoreCase))
{
ShowRedConsoleMessage(e, "You may have forgotten to install a requirement for one of your mods, please check the mod page again and install any dependencies listed. Read the below error message CAREFULLY to find the name of the mod you need to install");
ShowRedConsoleMessage(
e,
"You may have forgotten to install a requirement for one of your mods, please check the mod page again and install any dependencies listed. Read the below error message CAREFULLY to find the name of the mod you need to install"
);
Console.ReadLine();
return;
}
ShowRedConsoleMessage(e, "The server has unexpectedly stopped, reach out to #spt-support in our Discord server. Include a screenshot of this message + the below error");
ShowRedConsoleMessage(
e,
"The server has unexpectedly stopped, reach out to #spt-support in our Discord server. Include a screenshot of this message + the below error"
);
Console.WriteLine("Press any key to exit...");
Console.ReadLine();
}
@@ -71,18 +80,14 @@ public static class Program
private static void ShowRedConsoleMessage(Exception e, string message)
{
Console.WriteLine(
"========================================================================================================="
);
Console.WriteLine("=========================================================================================================");
Console.BackgroundColor = ConsoleColor.DarkRed;
Console.ForegroundColor = ConsoleColor.Black;
Console.WriteLine(message);
Console.ResetColor();
Console.WriteLine(e);
Console.WriteLine(
"========================================================================================================="
);
Console.WriteLine("=========================================================================================================");
}
public static async Task StartServer(string[] args)