diff options
author | Mattes D <github@xoft.cz> | 2016-03-21 09:58:15 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-03-21 09:58:15 +0100 |
commit | e3d34d9917bb2c341de3c7206e3021e916d3f706 (patch) | |
tree | 766f4703a8c30a01bfc5148fe54c6d6b4a3e3cc7 /src/Bindings/PluginManager.cpp | |
parent | Merge pull request #3084 from cuberite/seadragon91-patch-1 (diff) | |
download | cuberite-e3d34d9917bb2c341de3c7206e3021e916d3f706.tar cuberite-e3d34d9917bb2c341de3c7206e3021e916d3f706.tar.gz cuberite-e3d34d9917bb2c341de3c7206e3021e916d3f706.tar.bz2 cuberite-e3d34d9917bb2c341de3c7206e3021e916d3f706.tar.lz cuberite-e3d34d9917bb2c341de3c7206e3021e916d3f706.tar.xz cuberite-e3d34d9917bb2c341de3c7206e3021e916d3f706.tar.zst cuberite-e3d34d9917bb2c341de3c7206e3021e916d3f706.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginManager.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp index 203450505..5b3ef7803 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -1965,23 +1965,6 @@ bool cPluginManager::ForEachPlugin(cPluginCallback & a_Callback) -AString cPluginManager::GetPluginFolderName(const AString & a_PluginName) -{ - // TODO: Implement locking for plugins - for (auto & plugin: m_Plugins) - { - if (plugin->GetName() == a_PluginName) - { - return plugin->GetFolderName(); - } - } - return AString(); -} - - - - - void cPluginManager::AddHook(cPlugin * a_Plugin, int a_Hook) { if (a_Plugin == nullptr) |