diff options
author | madmaxoft <github@xoft.cz> | 2013-08-08 16:32:55 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-08 16:32:55 +0200 |
commit | 23b15a926c7c7371c89c0d324305fb998e5d436f (patch) | |
tree | f897eda75a22bd5a03d5fdd74cdd6405d87c72c1 | |
parent | Removed LuaScript. (diff) | |
download | cuberite-23b15a926c7c7371c89c0d324305fb998e5d436f.tar cuberite-23b15a926c7c7371c89c0d324305fb998e5d436f.tar.gz cuberite-23b15a926c7c7371c89c0d324305fb998e5d436f.tar.bz2 cuberite-23b15a926c7c7371c89c0d324305fb998e5d436f.tar.lz cuberite-23b15a926c7c7371c89c0d324305fb998e5d436f.tar.xz cuberite-23b15a926c7c7371c89c0d324305fb998e5d436f.tar.zst cuberite-23b15a926c7c7371c89c0d324305fb998e5d436f.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Plugin_NewLua.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Plugin_NewLua.cpp b/source/Plugin_NewLua.cpp index 15f975bb1..cb404a953 100644 --- a/source/Plugin_NewLua.cpp +++ b/source/Plugin_NewLua.cpp @@ -338,7 +338,7 @@ bool cPlugin_NewLua::OnPlayerLeftClick(cPlayer & a_Player, int a_BlockX, int a_B { cCSLock Lock(m_CriticalSection); bool res = false; - m_LuaState.Call(GetHookFnName(cPluginManager::HOOK_PLAYER_EATING), &a_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_Status, cLuaState::Return, res); + m_LuaState.Call(GetHookFnName(cPluginManager::HOOK_PLAYER_LEFT_CLICK), &a_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_Status, cLuaState::Return, res); return res; } |