Clear available plugins before loading new ones

This commit is contained in:
Thorsten Sommer 2025-03-30 19:50:02 +02:00
parent be21471c2a
commit 1c7188aa7f
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -45,6 +45,8 @@ public static partial class PluginFactory
return; return;
} }
AVAILABLE_PLUGINS.Clear();
// //
// The easiest way to load all plugins is to find all `plugin.lua` files and load them. // The easiest way to load all plugins is to find all `plugin.lua` files and load them.
// By convention, each plugin is enforced to have a `plugin.lua` file. // By convention, each plugin is enforced to have a `plugin.lua` file.