From c0dac4d9284b61c5ff411cbd45786ed14c200f37 Mon Sep 17 00:00:00 2001 From: Rui Date: Fri, 1 Sep 2017 20:40:09 +0900 Subject: Remove nodeupdate completely (#6358) --- src/script/cpp_api/s_node.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/script/cpp_api/s_node.cpp') diff --git a/src/script/cpp_api/s_node.cpp b/src/script/cpp_api/s_node.cpp index 591e26975..c8f85317e 100644 --- a/src/script/cpp_api/s_node.cpp +++ b/src/script/cpp_api/s_node.cpp @@ -270,27 +270,3 @@ void ScriptApiNode::node_on_receive_fields(v3s16 p, PCALL_RES(lua_pcall(L, 4, 0, error_handler)); lua_pop(L, 1); // Pop error handler } - -void ScriptApiNode::node_falling_update(v3s16 p) -{ - SCRIPTAPI_PRECHECKHEADER - - int error_handler = PUSH_ERROR_HANDLER(L); - - lua_getglobal(L, "nodeupdate"); - push_v3s16(L, p); - PCALL_RES(lua_pcall(L, 1, 0, error_handler)); - lua_pop(L, 1); // Pop error handler -} - -void ScriptApiNode::node_falling_update_single(v3s16 p) -{ - SCRIPTAPI_PRECHECKHEADER - - int error_handler = PUSH_ERROR_HANDLER(L); - - lua_getglobal(L, "nodeupdate_single"); - push_v3s16(L, p); - PCALL_RES(lua_pcall(L, 1, 0, error_handler)); - lua_pop(L, 1); // Pop error handler -} -- cgit v1.2.3