mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 18:13:46 +01:00
Document nil player as being allowed for can_dig
This commit is contained in:
parent
393722a9e3
commit
e680d49774
@ -3023,7 +3023,7 @@ Definition tables
|
|||||||
^ Called after destructing node when node was dug using
|
^ Called after destructing node when node was dug using
|
||||||
minetest.node_dig / minetest.dig_node
|
minetest.node_dig / minetest.dig_node
|
||||||
^ default: nil ]]
|
^ default: nil ]]
|
||||||
can_dig = function(pos,player) --[[
|
can_dig = function(pos, [player]) --[[
|
||||||
^ returns true if node can be dug, or false if not
|
^ returns true if node can be dug, or false if not
|
||||||
^ default: nil ]]
|
^ default: nil ]]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user