From 1b306ff39d9d1270bd49e976388cbbce45a8e615 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Tue, 18 Oct 2022 23:43:02 -0700 Subject: [PATCH] Fix SSC dumper not working Dumper was being called on the wrong thing (the config and not the settings). --- TShockAPI/Configuration/ServerSideConfig.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TShockAPI/Configuration/ServerSideConfig.cs b/TShockAPI/Configuration/ServerSideConfig.cs index a093b007..7008af9b 100644 --- a/TShockAPI/Configuration/ServerSideConfig.cs +++ b/TShockAPI/Configuration/ServerSideConfig.cs @@ -85,7 +85,7 @@ namespace TShockAPI.Configuration public static void DumpDescriptions() { var sb = new StringBuilder(); - var defaults = new ServerSideConfig(); + var defaults = new SscSettings(); foreach (var field in defaults.GetType().GetFields().OrderBy(f => f.Name)) { @@ -103,8 +103,8 @@ namespace TShockAPI.Configuration sb.AppendLine("## {0} ".SFormat(name)); sb.AppendLine("{0}".SFormat(desc)); - sb.AppendLine("* *Field type*: `{0}`".SFormat(type)); - sb.AppendLine("* *Default*: `{0}`".SFormat(def)); + sb.AppendLine("* **Field type**: `{0}`".SFormat(type)); + sb.AppendLine("* **Default**: `{0}`".SFormat(def)); sb.AppendLine(); }