1
0

Added all new bindings, refactored Debuggers; new Debuggers function.

Rclk with a redstone torch  on a dispenser causes the dispenser to spit out one item each tick.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1509 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2013-05-25 12:03:20 +00:00
parent a6c6818930
commit 41db106a8f
6 changed files with 758 additions and 445 deletions

View File

@@ -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;
}