From dc778842c5f23017c28887ea2f7f2a0fb9146cc2 Mon Sep 17 00:00:00 2001 From: starfi5h <50672801+starfi5h@users.noreply.github.com> Date: Sat, 23 Mar 2024 18:13:10 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com> --- NebulaNetwork/SaveManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NebulaNetwork/SaveManager.cs b/NebulaNetwork/SaveManager.cs index 61e38941f..c8b8a8107 100644 --- a/NebulaNetwork/SaveManager.cs +++ b/NebulaNetwork/SaveManager.cs @@ -125,7 +125,7 @@ public static void LoadServerData(bool loadSaveFile) // Supported revision: 5~8 if (revision is < 5 or > REVISION) { - throw new Exception($"Unsupport version {revision}"); + throw new Exception($"Unsupported version {revision}"); } } @@ -160,7 +160,7 @@ public static void LoadServerData(bool loadSaveFile) catch (Exception e) { playerSaves.Clear(); - Log.WarnInform("Skipping server data due to following excpetion:\n" + e.Message); + Log.WarnInform("Skipping server data due to exception:\n" + e.Message); Log.Warn(e); return; }