From 3e2161a0816462b137469ab7f7ceb316d5b89b50 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Sat, 13 Apr 2019 17:40:58 -0500 Subject: [PATCH] Fixed obsolete warning --- IPA.Loader/Loader/PluginInitInjector.cs | 2 ++ Refs/UnityEngine.CoreModule.dll | Bin 613888 -> 613888 bytes 2 files changed, 2 insertions(+) diff --git a/IPA.Loader/Loader/PluginInitInjector.cs b/IPA.Loader/Loader/PluginInitInjector.cs index aaf82437..b56ae439 100644 --- a/IPA.Loader/Loader/PluginInitInjector.cs +++ b/IPA.Loader/Loader/PluginInitInjector.cs @@ -36,7 +36,9 @@ namespace IPA.Loader private static readonly List> injectors = new List> { new Tuple(typeof(Logger), (prev, param, meta) => prev ?? new StandardLogger(meta.Name)), +#pragma warning disable CS0618 // Type or member is obsolete new Tuple(typeof(IModPrefs), (prev, param, meta) => prev ?? new ModPrefs(meta)), +#pragma warning restore CS0618 // Type or member is obsolete new Tuple(typeof(IConfigProvider), (prev, param, meta) => { if (prev != null) return prev; diff --git a/Refs/UnityEngine.CoreModule.dll b/Refs/UnityEngine.CoreModule.dll index 3c6b63166618b74cf7b319d5c6b4e8b70a46988b..bd347d7e4d77650b129bf8c9ead9dbe1ae8f49cb 100644 GIT binary patch delta 43 scmZqJquKyOEsQNpEzB(}TUf)w7`fZS!&rfs4T#x+m}7f*80SiM071|V)c^nh delta 43 scmZqJquKyOEsQNpEzB(}TUf)w7`fWR!&rfs4T#x+m}7f*80SiM071D8)Bpeg