diff options
author | Bill Derouin <derouinbill@gmail.com> | 2014-01-08 20:45:16 +0100 |
---|---|---|
committer | Bill Derouin <derouinbill@gmail.com> | 2014-01-08 20:45:16 +0100 |
commit | 154d6b989a242b8d3c6bb24cc64c6fedb2109ad6 (patch) | |
tree | bc5d203723649f510739f64c34218e7b2c7306e2 /src/Bindings/PluginLua.cpp | |
parent | Add missing plugin error (diff) | |
download | cuberite-154d6b989a242b8d3c6bb24cc64c6fedb2109ad6.tar cuberite-154d6b989a242b8d3c6bb24cc64c6fedb2109ad6.tar.gz cuberite-154d6b989a242b8d3c6bb24cc64c6fedb2109ad6.tar.bz2 cuberite-154d6b989a242b8d3c6bb24cc64c6fedb2109ad6.tar.lz cuberite-154d6b989a242b8d3c6bb24cc64c6fedb2109ad6.tar.xz cuberite-154d6b989a242b8d3c6bb24cc64c6fedb2109ad6.tar.zst cuberite-154d6b989a242b8d3c6bb24cc64c6fedb2109ad6.zip |
Diffstat (limited to 'src/Bindings/PluginLua.cpp')
-rw-r--r-- | src/Bindings/PluginLua.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp index 196a4f730..eefcd2b09 100644 --- a/src/Bindings/PluginLua.cpp +++ b/src/Bindings/PluginLua.cpp @@ -103,13 +103,14 @@ bool cPluginLua::Initialize(void) { Close(); return false; - } else + } + else { numFiles++; } } // for itr - Files[] - if (numFiles == 0) // no lua files found + if (numFiles == 0) { LOGWARNING("No lua files found: plugin %s is missing.", GetName().c_str()); Close(); |