diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-06-28 13:41:07 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-06-28 13:41:07 +0200 |
commit | 70aace56b189ea547827a8eb6ead7584c4848ceb (patch) | |
tree | 2390fbdb07cf5a044ccea700b5f0d0e08c9532cf | |
parent | a3f6d5feca70bb69491f0794149deebd4bc8f8fa (diff) |
fixed bug that allows placing sale protectors too close to each other
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |