Browse Source

- Added a warning to signify Deprecation

refactor 3.6.3
artman41 6 years ago
parent
commit
12dc58433f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      IllusionInjector/PluginManager.cs

+ 3
- 0
IllusionInjector/PluginManager.cs View File

@ -60,6 +60,9 @@ namespace IllusionInjector
foreach (var plugin in _Plugins) foreach (var plugin in _Plugins)
{ {
debugLogger.Log($"{plugin.Name}: {plugin.Version}"); debugLogger.Log($"{plugin.Name}: {plugin.Version}");
if (!(plugin is IPluginNew)) {
debugLogger.Warning($"{plugin.Name} uses a Deprecated Interface! This may cause errors!");
}
} }
debugLogger.Log("-----------------------------"); debugLogger.Log("-----------------------------");
} }


Loading…
Cancel
Save