diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-25 14:03:20 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-25 14:03:20 +0200 |
commit | 41db106a8f72f62b4da736c053c1cc1808535730 (patch) | |
tree | 62ade47824fdeae1494bbc03223b5ae7d7220bb4 /source/Plugin_NewLua.cpp | |
parent | Fixed WindowOwner implementation (diff) | |
download | cuberite-41db106a8f72f62b4da736c053c1cc1808535730.tar cuberite-41db106a8f72f62b4da736c053c1cc1808535730.tar.gz cuberite-41db106a8f72f62b4da736c053c1cc1808535730.tar.bz2 cuberite-41db106a8f72f62b4da736c053c1cc1808535730.tar.lz cuberite-41db106a8f72f62b4da736c053c1cc1808535730.tar.xz cuberite-41db106a8f72f62b4da736c053c1cc1808535730.tar.zst cuberite-41db106a8f72f62b4da736c053c1cc1808535730.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 01e9b0cdb..9afe78e93 100644 --- a/source/Plugin_NewLua.cpp +++ b/source/Plugin_NewLua.cpp @@ -1043,7 +1043,7 @@ bool cPlugin_NewLua::OnPlayerUsingBlock(cPlayer & a_Player, int a_BlockX, int a_ tolua_pushnumber (m_LuaState, a_BlockType); tolua_pushnumber (m_LuaState, a_BlockMeta); - if (!CallFunction(10, 1, "OnPlayerUsingBlock")) + if (!CallFunction(10, 1, FnName)) { return false; } |