mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-21 13:25:43 +01:00
technic_cnc/cnc.lua: Fix access to non-existant stack parameter (#528)
This commit is contained in:
parent
904800abde
commit
fbc4cc8511
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user