diff options
author | Mattes D <github@xoft.cz> | 2013-10-01 11:40:13 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-10-01 11:40:13 +0200 |
commit | ba8152608f1ce93ec3baf0a9f284448dfa9f5d69 (patch) | |
tree | 327fb6d1a087c913b757ba01ab5d6720c220f2f9 /source/PluginManager.cpp | |
parent | Merge pull request #199 from tigerw/moar-bugfixes (diff) | |
parent | Removed unneeded statement (diff) | |
download | cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.gz cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.bz2 cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.lz cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.xz cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.zst cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.zip |
Diffstat (limited to 'source/PluginManager.cpp')
-rw-r--r-- | source/PluginManager.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/PluginManager.cpp b/source/PluginManager.cpp index 68cb6e40b..eb347968a 100644 --- a/source/PluginManager.cpp +++ b/source/PluginManager.cpp @@ -95,7 +95,7 @@ void cPluginManager::FindPlugins(void) void cPluginManager::ReloadPluginsNow(void) { - LOG("Loading plugins"); + LOG("-- Loading Plugins --"); m_bReloadPlugins = false; UnloadPluginsNow(); @@ -135,11 +135,15 @@ void cPluginManager::ReloadPluginsNow(void) if (GetNumPlugins() == 0) { - LOG("No plugins loaded"); + LOG("-- No Plugins Loaded --"); + } + else if ((GetNumPlugins() > 1) || (GetNumPlugins() == 0)) + { + LOG("-- Loaded %i Plugins --", GetNumPlugins()); } else { - LOG("Loaded %i plugin(s)", GetNumPlugins()); + LOG("-- Loaded 1 Plugin --"); } } |