From 7fdc0b9c92d5e32c3e9ddfd6cb739ddf45b04630 Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 19 Jun 2022 18:27:02 -0400 Subject: [PATCH] Banish to the shadow realm --- NewHorizons/External/Configs/TranslationConfig.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/NewHorizons/External/Configs/TranslationConfig.cs b/NewHorizons/External/Configs/TranslationConfig.cs index 854d5bde..2132ca88 100644 --- a/NewHorizons/External/Configs/TranslationConfig.cs +++ b/NewHorizons/External/Configs/TranslationConfig.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.IO; using Newtonsoft.Json; @@ -23,14 +24,13 @@ namespace NewHorizons.External.Configs /// public Dictionary UIDictionary; - - // Literally only exists for the schema generation, Achievements+ handles the parsing #region Achievements+ - + // This only exists for schema generation, Achievements+ handles the parsing +#pragma warning disable 0169 /// /// Translation table for achievements. The key is the unique ID of the achievement /// - public readonly Dictionary AchievementTranslations; + private readonly Dictionary AchievementTranslations; [JsonObject] public class AchievementTranslationInfo @@ -38,13 +38,14 @@ namespace NewHorizons.External.Configs /// /// The name of the achievement. /// - public string Name; + private string Name; /// /// The short description for this achievement. /// - public readonly string Description; + private readonly string Description; } +#pragma warning restore 0169 #endregion public TranslationConfig(string filename)