mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +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
|
||||
minetest.node_dig / minetest.dig_node
|
||||
^ default: nil ]]
|
||||
can_dig = function(pos,player) --[[
|
||||
can_dig = function(pos, [player]) --[[
|
||||
^ returns true if node can be dug, or false if not
|
||||
^ default: nil ]]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user