diff options
author | Alexander Harkness <me@bearbin.net> | 2015-05-25 22:24:34 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-05-25 22:24:34 +0200 |
commit | fffc8dce21c5781730093bfc6144e77102b68f74 (patch) | |
tree | 571c85db38fd9c1c132bf14f215d5f07d50d5899 | |
parent | Merge pull request #2135 from linnemannr/master (diff) | |
parent | Only add default plugins if there are not any plugins (diff) | |
download | cuberite-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.cpp | 2 |
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); } |