Browse Source

- Added a warning to signify Deprecation

pull/46/head
artman41 6 years ago
parent
commit
a942271cbc
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