try to load_area() on quarry dig
This commit is contained in:
parent
55c343b0a8
commit
0886117328
@ -203,6 +203,9 @@ local function quarry_run(pos, node)
|
||||
vector.multiply(pdir, rp)),
|
||||
vector.multiply(qdir, rq))
|
||||
local can_dig = true
|
||||
|
||||
minetest.load_area(digpos);
|
||||
|
||||
if can_dig and minetest.is_protected and minetest.is_protected(digpos, owner) then
|
||||
can_dig = false
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user