mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Allow optional actor ObjectRef value in node interaction calls (#14505)
This commit is contained in:
@@ -89,15 +89,15 @@ private:
|
||||
// timeofday: nil = current time, 0 = night, 0.5 = day
|
||||
static int l_get_natural_light(lua_State *L);
|
||||
|
||||
// place_node(pos, node)
|
||||
// place_node(pos, node, [placer])
|
||||
// pos = {x=num, y=num, z=num}
|
||||
static int l_place_node(lua_State *L);
|
||||
|
||||
// dig_node(pos)
|
||||
// dig_node(pos, [digger])
|
||||
// pos = {x=num, y=num, z=num}
|
||||
static int l_dig_node(lua_State *L);
|
||||
|
||||
// punch_node(pos)
|
||||
// punch_node(pos, [puncher])
|
||||
// pos = {x=num, y=num, z=num}
|
||||
static int l_punch_node(lua_State *L);
|
||||
|
||||
|
Reference in New Issue
Block a user