diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-03-27 15:11:28 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2015-03-27 15:11:28 -0400 |
commit | e680d49774b0fa2d71ac5de12fb116fe9b886132 (patch) | |
tree | cbdc1a5fa0a7f56357ef485b918bef0bde8145af /doc | |
parent | 393722a9e383e05ce23cf0abee9b09bc8a801c61 (diff) | |
download | minetest-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.txt | 2 |
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 ]] |