diff options
author | FaceDeer <FaceDeer@users.noreply.github.com> | 2017-10-12 23:09:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 23:09:21 -0600 |
commit | f3c931ce95fd1a9f31f318b3018637db18950707 (patch) | |
tree | 11946936b922c9789ebb7ce58330cea857fc7d01 /util.lua | |
parent | a44f517a4e17314adf3e6895d95a1f90096df026 (diff) | |
parent | 1aa88e526437aeffc4ca846fa7039d1a22225ad0 (diff) |
Merge pull request #13 from minetest-mods/more_technic
More technic
Diffstat (limited to 'util.lua')
-rw-r--r-- | util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ digtron.mark_diggable = function(pos, nodes_dug) end local targetdef = minetest.registered_nodes[target.name] - if targetdef.can_dig == nil or targetdef.can_dig(pos, player) then + if targetdef == nil or targetdef.can_dig == nil or targetdef.can_dig(pos, player) then nodes_dug:set(pos.x, pos.y, pos.z, true) if target.name ~= "air" then local in_known_group = false |