Hey guys,
I'm first time trying to mod minetest, but have a little problem:
I want to pass the digger parameter to minetest.dig_node, but it doesn't have any effect.
The Debug.txt shows "2016-06-01 18:02:18: ACTION[Server]: digs default:tree at (8,19,-75)"
the result is, that the node is removed, but I don't get the resources.
When I dig a node manually, I'll get "ACTION[Server]: singleplayer digs moretrees:birch_leaves at (-245,22,-71)"
I'm in on_dig and using the digger which is passed as parameter.
What exactly do I need to pass to dig_node, so that it works. Also the node parameter seems to have no effect. What should i pass here? I would expect, that the position is enough.