Merge pull request #2140 from mc-server/Plugins-duping
Only add default plugins if there are not any plugins
This commit is contained in:
commit
fffc8dce21
@ -1935,7 +1935,7 @@ size_t cPluginManager::GetNumLoadedPlugins(void) const
|
||||
AStringVector cPluginManager::GetFoldersToLoad(cSettingsRepositoryInterface & a_Settings)
|
||||
{
|
||||
// Check if the Plugins section exists.
|
||||
if (a_Settings.KeyExists("Plugins"))
|
||||
if (!a_Settings.KeyExists("Plugins"))
|
||||
{
|
||||
InsertDefaultPlugins(a_Settings);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user