diff --git a/technic_cnc/cnc.lua b/technic_cnc/cnc.lua index 0e23f5a..1116aee 100644 --- a/technic_cnc/cnc.lua +++ b/technic_cnc/cnc.lua @@ -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)