From 70aace56b189ea547827a8eb6ead7584c4848ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Tue, 28 Jun 2016 13:41:07 +0200 Subject: fixed bug that allows placing sale protectors too close to each other --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 5fc33f4..7fa5eb5 100644 --- a/init.lua +++ b/init.lua @@ -176,7 +176,7 @@ protector.overlaps = function(p) local pos = minetest.find_nodes_in_area( {x = p.x - r, y = p.y - r, z = p.z - r}, {x = p.x + r, y = p.y + r, z = p.z + r}, - {"protector:protect", "protector:protect2"}) + {"protector:protect", "protector:protect2", "protector:protect_sell"}) if (#pos > 1) then return true end -- cgit v1.2.3