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);