Merge pull request #24 from minetest-mods/master

[pull] master from minetest-mods:master
This commit is contained in:
pull[bot] 2020-01-28 21:00:09 +00:00 committed by GitHub
commit 609a4fd0ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ else
if minetest.is_protected(pos, player:get_player_name()) then
return 0
end
return stack:get_count()
return count
end
can_dig = function(pos, player)