diff options
author | Mattes D <github@xoft.cz> | 2016-06-27 20:49:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-06-27 20:51:53 +0200 |
commit | bf88312a1664311968736b4ba7ce1458c8b0954e (patch) | |
tree | 59bae2de637b5f3c629db8e55fb44a3106266709 /src/Bindings/PluginLua.h | |
parent | Removed dead code related to callbacks. (diff) | |
download | cuberite-bf88312a1664311968736b4ba7ce1458c8b0954e.tar cuberite-bf88312a1664311968736b4ba7ce1458c8b0954e.tar.gz cuberite-bf88312a1664311968736b4ba7ce1458c8b0954e.tar.bz2 cuberite-bf88312a1664311968736b4ba7ce1458c8b0954e.tar.lz cuberite-bf88312a1664311968736b4ba7ce1458c8b0954e.tar.xz cuberite-bf88312a1664311968736b4ba7ce1458c8b0954e.tar.zst cuberite-bf88312a1664311968736b4ba7ce1458c8b0954e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginLua.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h index e28e30698..dc3c91880 100644 --- a/src/Bindings/PluginLua.h +++ b/src/Bindings/PluginLua.h @@ -146,7 +146,7 @@ public: /** Adds a Lua callback to be called for the specified hook. Returns true if the hook was added successfully. */ - bool AddHookCallback(int a_HookType, cLuaState::cCallbackPtr a_Callback); + bool AddHookCallback(int a_HookType, cLuaState::cCallbackPtr && a_Callback); /** Calls a function in this plugin's LuaState with parameters copied over from a_ForeignState. The values that the function returns are placed onto a_ForeignState. |