From 08861173281a5e84f32ead04f35105843c80eb3a Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Tue, 9 Apr 2019 18:16:27 +0200 Subject: [PATCH] try to load_area() on quarry dig --- technic/machines/HV/quarry.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/technic/machines/HV/quarry.lua b/technic/machines/HV/quarry.lua index 15e3af4..e717641 100644 --- a/technic/machines/HV/quarry.lua +++ b/technic/machines/HV/quarry.lua @@ -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