1
0
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:
1F616EMO~nya
2024-04-05 19:00:50 +08:00
committed by GitHub
parent 4e1679d2a2
commit 2d8e4df7bc
4 changed files with 54 additions and 17 deletions

View File

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