aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-03-27 15:11:28 -0400
committerShadowNinja <shadowninja@minetest.net>2015-03-27 15:11:28 -0400
commite680d49774b0fa2d71ac5de12fb116fe9b886132 (patch)
treecbdc1a5fa0a7f56357ef485b918bef0bde8145af /doc
parent393722a9e383e05ce23cf0abee9b09bc8a801c61 (diff)
downloadminetest-e680d49774b0fa2d71ac5de12fb116fe9b886132.tar.gz
minetest-e680d49774b0fa2d71ac5de12fb116fe9b886132.tar.bz2
minetest-e680d49774b0fa2d71ac5de12fb116fe9b886132.zip
Document nil player as being allowed for can_dig
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index bd85f0da5..1431181f1 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -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 ]]