From e680d49774b0fa2d71ac5de12fb116fe9b886132 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Fri, 27 Mar 2015 15:11:28 -0400 Subject: [PATCH] Document nil player as being allowed for can_dig --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]]