mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
virtual ~ScriptApiNode();
|
||||
|
||||
bool node_on_punch(v3s16 p, MapNode node,
|
||||
ServerActiveObject *puncher);
|
||||
ServerActiveObject *puncher, PointedThing pointed);
|
||||
bool node_on_dig(v3s16 p, MapNode node,
|
||||
ServerActiveObject *digger);
|
||||
void node_on_construct(v3s16 p, MapNode node);
|
||||
|
Reference in New Issue
Block a user