mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-15 23:10:41 +01:00
copy paste typo
This commit is contained in:
parent
449c772f76
commit
64ae1fd154
|
@ -141,7 +141,7 @@ local function can_dig_node(pos, node_name, owner, digger)
|
|||
if not def or not def.diggable or (def.can_dig and not def.can_dig(pos, digger)) then
|
||||
return false
|
||||
end
|
||||
if minetest.is_protected(dig_pos, owner) then
|
||||
if minetest.is_protected(pos, owner) then
|
||||
return false
|
||||
end
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue
Block a user