From: ShadowNinja Date: Fri, 27 Mar 2015 19:11:28 +0000 (-0400) Subject: Document nil player as being allowed for can_dig X-Git-Tag: 0.4.13~427 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e680d49774b0fa2d71ac5de12fb116fe9b886132;p=oweals%2Fminetest.git Document nil player as being allowed for can_dig --- 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 ]]