Load plugins before initial files (#4020)

This commit is contained in:
BlackShark 2023-09-28 16:04:12 +02:00 committed by GitHub
parent 0cda774b97
commit cfadf86d27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,11 +42,12 @@ public partial class Main : Form
startup.ReadArguments(args); startup.ReadArguments(args);
startup.ReadSettings(Settings.Startup); startup.ReadSettings(Settings.Startup);
startup.ReadTemplateIfNoEntity(TemplatePath); startup.ReadTemplateIfNoEntity(TemplatePath);
FormLoadInitialFiles(startup);
if (Settings.Startup.PluginLoadMethod != PluginLoadSetting.DontLoad) if (Settings.Startup.PluginLoadMethod != PluginLoadSetting.DontLoad)
FormLoadPlugins(); FormLoadPlugins();
FormLoadInitialFiles(startup);
if (HaX) if (HaX)
{ {
EntityConverter.AllowIncompatibleConversion = EntityCompatibilitySetting.AllowIncompatibleAll; EntityConverter.AllowIncompatibleConversion = EntityCompatibilitySetting.AllowIncompatibleAll;