diff options
author | madmaxoft <github@xoft.cz> | 2013-11-22 20:11:24 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-22 20:11:24 +0100 |
commit | 63753c5e8405837931510b8da648dc75d4970fe1 (patch) | |
tree | 58e495519d269f4e6d7aff94294101a5911465cc /source/PluginManager.cpp | |
parent | APIDump: Fixed cRoot's furnace query API. (diff) | |
download | cuberite-63753c5e8405837931510b8da648dc75d4970fe1.tar cuberite-63753c5e8405837931510b8da648dc75d4970fe1.tar.gz cuberite-63753c5e8405837931510b8da648dc75d4970fe1.tar.bz2 cuberite-63753c5e8405837931510b8da648dc75d4970fe1.tar.lz cuberite-63753c5e8405837931510b8da648dc75d4970fe1.tar.xz cuberite-63753c5e8405837931510b8da648dc75d4970fe1.tar.zst cuberite-63753c5e8405837931510b8da648dc75d4970fe1.zip |
Diffstat (limited to 'source/PluginManager.cpp')
-rw-r--r-- | source/PluginManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/PluginManager.cpp b/source/PluginManager.cpp index 0a9f5b9d3..e08ebe503 100644 --- a/source/PluginManager.cpp +++ b/source/PluginManager.cpp @@ -72,8 +72,8 @@ void cPluginManager::FindPlugins(void) ++itr; } - AStringList Files = GetDirectoryContents(PluginsPath.c_str()); - for (AStringList::const_iterator itr = Files.begin(); itr != Files.end(); ++itr) + AStringVector Files = cFile::GetFolderContents(PluginsPath.c_str()); + for (AStringVector::const_iterator itr = Files.begin(); itr != Files.end(); ++itr) { if ((*itr == ".") || (*itr == "..") || (!cFile::IsFolder(PluginsPath + *itr))) { |