summaryrefslogtreecommitdiffstats
path: root/source/PluginManager.cpp
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-10-02 01:48:06 +0200
committerSamuel Barney <samjbarney@gmail.com>2013-10-02 01:48:06 +0200
commit523c6b4b94a7b52ffa588f7448a0b1e4e6371517 (patch)
tree5b31bf8e5b46e7e2520ba6bfb94fe899226b58e1 /source/PluginManager.cpp
parentAdded glass pane as transparent. Removed excess g_BlockOneHitDig[E_BLOCK_REDSTONE_WIRE]. (diff)
parentMerge pull request #193 from tigerw/bugfixes (diff)
downloadcuberite-523c6b4b94a7b52ffa588f7448a0b1e4e6371517.tar
cuberite-523c6b4b94a7b52ffa588f7448a0b1e4e6371517.tar.gz
cuberite-523c6b4b94a7b52ffa588f7448a0b1e4e6371517.tar.bz2
cuberite-523c6b4b94a7b52ffa588f7448a0b1e4e6371517.tar.lz
cuberite-523c6b4b94a7b52ffa588f7448a0b1e4e6371517.tar.xz
cuberite-523c6b4b94a7b52ffa588f7448a0b1e4e6371517.tar.zst
cuberite-523c6b4b94a7b52ffa588f7448a0b1e4e6371517.zip
Diffstat (limited to 'source/PluginManager.cpp')
-rw-r--r--source/PluginManager.cpp10
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 --");
}
}