diff --git a/Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs b/Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs index 669c15d3..24558f51 100644 --- a/Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs +++ b/Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs @@ -10,6 +10,7 @@ using LogLevel = SPTarkov.Server.Core.Models.Spt.Logging.LogLevel; namespace SPTarkov.Server.Core.Servers; [Injectable(InjectionType.Singleton)] +[Obsolete("This class will be removed in SPT 4.2 in favor for directly injecting the configuration into classes")] public class ConfigServer { protected readonly FrozenSet acceptableFileExtensions = ["json", "jsonc"]; @@ -30,6 +31,7 @@ public class ConfigServer } } + [Obsolete("This method will be removed in SPT 4.2 in favor for directly injecting the configuration into classes")] public T GetConfig() where T : BaseConfig {