mirror of
https://github.com/minetest-mods/technic.git
synced 2025-02-23 15:20:19 +01:00
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(pdir, rp)),
|
||||||
vector.multiply(qdir, rq))
|
vector.multiply(qdir, rq))
|
||||||
local can_dig = true
|
local can_dig = true
|
||||||
|
|
||||||
|
minetest.load_area(digpos);
|
||||||
|
|
||||||
if can_dig and minetest.is_protected and minetest.is_protected(digpos, owner) then
|
if can_dig and minetest.is_protected and minetest.is_protected(digpos, owner) then
|
||||||
can_dig = false
|
can_dig = false
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user