diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-03-16 17:07:50 +0100 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-03-16 17:50:19 +0100 |
commit | 4b1bc1cc5ca26d79d65321cfc90f45712f351ff0 (patch) | |
tree | 64bcd3c37134b79db6d9de23de7f3df08ca9d173 /src/Bindings | |
parent | APIDocs: Corrected param types in cBoundingBox (#3624) (diff) | |
download | cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.gz cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.bz2 cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.lz cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.xz cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.zst cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.zip |
Diffstat (limited to 'src/Bindings')
-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 aa2b5fbfc..631f8f6bc 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -68,7 +68,7 @@ void cPluginManager::RefreshPluginList(void) AStringVector Folders; for (auto & item: Contents) { - if ((item == ".") || (item == "..") || (!cFile::IsFolder(PluginsPath + item))) + if (!cFile::IsFolder(PluginsPath + item)) { // We only want folders, and don't want "." or ".." continue; |