From 2891fd41fd07b6150a2192ac0d24adb93eb72862 Mon Sep 17 00:00:00 2001 From: Chomp Date: Mon, 2 Mar 2026 17:36:33 +0000 Subject: [PATCH] Improved `ConfigServer` obsolete messages --- Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs b/Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs index 24558f51..611e9d1a 100644 --- a/Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs +++ b/Libraries/SPTarkov.Server.Core/Servers/ConfigServer.cs @@ -10,7 +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")] +[Obsolete("This class will be removed in SPT 4.1 in favor for directly injecting the configuration into classes")] public class ConfigServer { protected readonly FrozenSet acceptableFileExtensions = ["json", "jsonc"]; @@ -31,7 +31,7 @@ public class ConfigServer } } - [Obsolete("This method will be removed in SPT 4.2 in favor for directly injecting the configuration into classes")] + [Obsolete("This method will be removed in SPT 4.1 in favor for directly injecting the configuration into classes")] public T GetConfig() where T : BaseConfig {