technic_cnc/cnc.lua: Fix access to non-existant stack parameter (#528)

这个提交包含在:
thetaepsilon-gamedev 2020-01-28 20:38:13 +00:00 提交者 SmallJoker
父节点 904800abde
当前提交 fbc4cc8511
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -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)