diff options
author | Mattes D <github@xoft.cz> | 2015-04-19 17:25:48 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-04-19 17:25:48 +0200 |
commit | be40ea323ad404b4f186a44e60f1926384687e67 (patch) | |
tree | ce8e88053d44b72f9652ab5412644e0058a502e9 | |
parent | APIDump: Documented cPluginManager:IsPluginLoaded(). (diff) | |
download | cuberite-be40ea323ad404b4f186a44e60f1926384687e67.tar cuberite-be40ea323ad404b4f186a44e60f1926384687e67.tar.gz cuberite-be40ea323ad404b4f186a44e60f1926384687e67.tar.bz2 cuberite-be40ea323ad404b4f186a44e60f1926384687e67.tar.lz cuberite-be40ea323ad404b4f186a44e60f1926384687e67.tar.xz cuberite-be40ea323ad404b4f186a44e60f1926384687e67.tar.zst cuberite-be40ea323ad404b4f186a44e60f1926384687e67.zip |
-rw-r--r-- | src/Server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index 9c5c6b6eb..8b6a2e769 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -464,6 +464,7 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac { if (split.size() > 1) { + cPluginManager::Get()->RefreshPluginList(); // Refresh the plugin list, so that if the plugin was added just now, it is loadable a_Output.Out(cPluginManager::Get()->LoadPlugin(split[1]) ? "Plugin loaded" : "Error occurred loading plugin"); } else |