diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-11-18 15:27:17 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-11-18 15:27:17 -0500 |
commit | bde49aca61254c3e342a04fafc6bae9cd82da610 (patch) | |
tree | 423eb089b0fd413539c3fd4866d7720f218e86e7 | |
parent | 2d8ff45d9a3bcc3a327544705724aadd7b89ceb8 (diff) |
Fix crash when quarrying a protected area
-rw-r--r-- | technic/machines/HV/quarry.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |