summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-05-25 22:24:34 +0200
committerAlexander Harkness <me@bearbin.net>2015-05-25 22:24:34 +0200
commitfffc8dce21c5781730093bfc6144e77102b68f74 (patch)
tree571c85db38fd9c1c132bf14f215d5f07d50d5899
parentMerge pull request #2135 from linnemannr/master (diff)
parentOnly add default plugins if there are not any plugins (diff)
downloadcuberite-fffc8dce21c5781730093bfc6144e77102b68f74.tar
cuberite-fffc8dce21c5781730093bfc6144e77102b68f74.tar.gz
cuberite-fffc8dce21c5781730093bfc6144e77102b68f74.tar.bz2
cuberite-fffc8dce21c5781730093bfc6144e77102b68f74.tar.lz
cuberite-fffc8dce21c5781730093bfc6144e77102b68f74.tar.xz
cuberite-fffc8dce21c5781730093bfc6144e77102b68f74.tar.zst
cuberite-fffc8dce21c5781730093bfc6144e77102b68f74.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp
index 4dc3e20d3..5b6bec728 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -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);
}