diff options
author | madmaxoft <github@xoft.cz> | 2014-03-14 11:18:14 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-14 11:18:14 +0100 |
commit | bba090ebddd4662f30dc86d3ce20073ef0fc2f6c (patch) | |
tree | 06678096f687b78131d40c0e79733864dbcb7fa5 /src | |
parent | Fixed missing comment terminator. (diff) | |
download | cuberite-bba090ebddd4662f30dc86d3ce20073ef0fc2f6c.tar cuberite-bba090ebddd4662f30dc86d3ce20073ef0fc2f6c.tar.gz cuberite-bba090ebddd4662f30dc86d3ce20073ef0fc2f6c.tar.bz2 cuberite-bba090ebddd4662f30dc86d3ce20073ef0fc2f6c.tar.lz cuberite-bba090ebddd4662f30dc86d3ce20073ef0fc2f6c.tar.xz cuberite-bba090ebddd4662f30dc86d3ce20073ef0fc2f6c.tar.zst cuberite-bba090ebddd4662f30dc86d3ce20073ef0fc2f6c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/ManualBindings.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp index a5247bbe6..462ef3682 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -1497,7 +1497,8 @@ static int tolua_cPluginManager_BindCommand(lua_State * L) } Plugin->BindCommand(Command, FnRef); - return 0; + lua_pushboolean(L, true); + return 1; } @@ -1561,7 +1562,8 @@ static int tolua_cPluginManager_BindConsoleCommand(lua_State * L) } Plugin->BindConsoleCommand(Command, FnRef); - return 0; + lua_pushboolean(L, true); + return 1; } |