Skip to content

Commit e680d49

Browse files
committedMar 27, 2015
Document nil player as being allowed for can_dig
1 parent 393722a commit e680d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎doc/lua_api.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3023,7 +3023,7 @@ Definition tables
30233023
^ Called after destructing node when node was dug using
30243024
minetest.node_dig / minetest.dig_node
30253025
^ default: nil ]]
3026-
can_dig = function(pos,player) --[[
3026+
can_dig = function(pos, [player]) --[[
30273027
^ returns true if node can be dug, or false if not
30283028
^ default: nil ]]
30293029

0 commit comments

Comments
 (0)
Please sign in to comment.