Add obsolete markers from 4.1
This commit is contained in:
@@ -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<string> 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<T>()
|
||||
where T : BaseConfig
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user