Removed plugins from the project and reworked the Plugin Manager

This commit is contained in:
Wizzy69
2023-04-29 19:35:19 +03:00
parent 0dc8cdbce5
commit bcef58a46b
17 changed files with 83 additions and 861 deletions

View File

@@ -60,9 +60,7 @@ namespace PluginManager.Loaders
}
catch (Exception ex)
{
Logger.WriteLine(ex.Message);
Logger.WriteLine("PluginName: " + new FileInfo(file).Name.Split('.')[0] + " not loaded");
Config.Logger.Log("PluginName: " + new FileInfo(file).Name.Split('.')[0] + " not loaded", this, Others.TextType.ERROR);
continue;
}
if (FileLoaded != null)
@@ -133,7 +131,7 @@ namespace PluginManager.Loaders
}
catch (Exception ex)
{
Logger.WriteErrFile(ex.ToString());
Config.Logger.Log(ex.Message, this, Others.TextType.ERROR);
return null;
}