Skip to content

Commit

Permalink
Document nil player as being allowed for can_dig
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowNinja committed Mar 27, 2015
1 parent 393722a commit e680d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/lua_api.txt
Expand Up @@ -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 ]]

Expand Down

0 comments on commit e680d49

Please sign in to comment.