From 4e2d7feea4ce9070f690b73bdaac61308e93f398 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Sun, 28 Mar 2021 18:49:29 -0500 Subject: [PATCH] Fix errors in Feature --- IPA.Loader/Loader/Features/Feature.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IPA.Loader/Loader/Features/Feature.cs b/IPA.Loader/Loader/Features/Feature.cs index d354bb6f..80c84c84 100644 --- a/IPA.Loader/Loader/Features/Feature.cs +++ b/IPA.Loader/Loader/Features/Feature.cs @@ -64,7 +64,6 @@ namespace IPA.Loader.Features // TODO: rework features to take arguments as JSON objects - [SuppressMessage("Nullability", "CS8618", Justification = "Reset sets those fields.")] static Feature() { Reset(); @@ -82,8 +81,8 @@ namespace IPA.Loader.Features }; } - private static Dictionary featureTypes; - private static Dictionary featureDelcarers; + private static Dictionary featureTypes = null!; + private static Dictionary featureDelcarers = null!; internal static bool HasFeature(string name) => featureTypes.ContainsKey(name);