Skip to content

Commit 03efd3a

Browse files
committed
.
1 parent 50e8fee commit 03efd3a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

UncomplicatedCustomTeams/Commands/Reload.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ public bool Executor(List<string> arguments, ICommandSender sender, out string r
4141
FileConfigs fileConfigs = new();
4242
fileConfigs.LoadAll();
4343
fileConfigs.LoadAll(Server.Port.ToString());
44+
CommentsSystem.AddCommentsToYaml();
45+
CommentsSystem.AddCommentsToYaml(Server.Port.ToString());
4446
LogManager.Info($"Reloaded teams from the config. Current count: {Team.List.Count}");
4547

4648
if (Team.List.Count == 0)

UncomplicatedCustomTeams/Utilities/CommentsSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static void AddCommentsToYaml(string localDir = "")
7171
}
7272
catch (Exception ex)
7373
{
74-
LogManager.Error($"Critical error in AddCommentsToYaml: {ex.Message}");
74+
LogManager.Error($"Critical error in Comments System: {ex.Message}");
7575
}
7676
}
7777
}

0 commit comments

Comments
 (0)