Browse Source

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

pull/530/head
thetaepsilon-gamedev SmallJoker 4 months ago
parent
commit
fbc4cc8511
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      technic_cnc/cnc.lua

+ 1
- 1
technic_cnc/cnc.lua 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)


Loading…
Cancel
Save