summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-05-25 19:43:18 +0200
committerworktycho <work.tycho@gmail.com>2015-05-25 19:43:18 +0200
commit6735b0d5346ba17d282bb27ca00f92e6d963a516 (patch)
tree571c85db38fd9c1c132bf14f215d5f07d50d5899
parentMerge pull request #2135 from linnemannr/master (diff)
downloadcuberite-6735b0d5346ba17d282bb27ca00f92e6d963a516.tar
cuberite-6735b0d5346ba17d282bb27ca00f92e6d963a516.tar.gz
cuberite-6735b0d5346ba17d282bb27ca00f92e6d963a516.tar.bz2
cuberite-6735b0d5346ba17d282bb27ca00f92e6d963a516.tar.lz
cuberite-6735b0d5346ba17d282bb27ca00f92e6d963a516.tar.xz
cuberite-6735b0d5346ba17d282bb27ca00f92e6d963a516.tar.zst
cuberite-6735b0d5346ba17d282bb27ca00f92e6d963a516.zip
-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);
}