1
0

Merge pull request #2140 from mc-server/Plugins-duping

Only add default plugins if there are not any plugins
This commit is contained in:
Alexander Harkness 2015-05-25 21:24:34 +01:00
commit fffc8dce21

View File

@ -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);
}