summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-02 17:16:35 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-02 17:16:35 +0100
commitd6af6b353d02e8d164ca888f1e0c79370214b9cc (patch)
tree86dae977699ea27e7846c9a412b372aabd29d11e /source
parentDebuggers plugin dumps entire API into a file, API.txt. Enabled by default. (diff)
downloadcuberite-d6af6b353d02e8d164ca888f1e0c79370214b9cc.tar
cuberite-d6af6b353d02e8d164ca888f1e0c79370214b9cc.tar.gz
cuberite-d6af6b353d02e8d164ca888f1e0c79370214b9cc.tar.bz2
cuberite-d6af6b353d02e8d164ca888f1e0c79370214b9cc.tar.lz
cuberite-d6af6b353d02e8d164ca888f1e0c79370214b9cc.tar.xz
cuberite-d6af6b353d02e8d164ca888f1e0c79370214b9cc.tar.zst
cuberite-d6af6b353d02e8d164ca888f1e0c79370214b9cc.zip
Diffstat (limited to 'source')
-rw-r--r--source/ManualBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp
index 8dc55a54c..5b2b6ff9e 100644
--- a/source/ManualBindings.cpp
+++ b/source/ManualBindings.cpp
@@ -637,7 +637,7 @@ static int tolua_cPluginManager_BindCommand(lua_State * L)
int FnRef = luaL_ref(L, LUA_REGISTRYINDEX); // Store function reference
if (FnRef == LUA_REFNIL)
{
- LOGERROR("\"BindCommand\": Cannot create a function reference. Command \"%s\" not bound.", Command);
+ LOGERROR("\"BindCommand\": Cannot create a function reference. Command \"%s\" not bound.", Command.c_str());
return 0;
}