mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +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