From bde49aca61254c3e342a04fafc6bae9cd82da610 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 18 Nov 2013 15:27:17 -0500 Subject: [PATCH] Fix crash when quarrying a protected area --- technic/machines/HV/quarry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/machines/HV/quarry.lua b/technic/machines/HV/quarry.lua index a62be8f..15b6662 100644 --- a/technic/machines/HV/quarry.lua +++ b/technic/machines/HV/quarry.lua @@ -103,7 +103,7 @@ local function quarry_dig(pos, center, size) end if minetest.is_protected and minetest.is_protected(digpos, owner) then meta:set_int("enabled", 0) - return + return {} end dig_y = digpos.y local node = minetest.get_node(digpos)