mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-11-06 05:45:20 +01:00
Ensafen intersection function
This commit is contained in:
@@ -268,7 +268,7 @@ local function area_intersects_nodes(min_pos, max_pos, positions)
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
local def = minetest.registered_nodes[minetest.get_node(pos).name]
|
local def = minetest.registered_nodes[minetest.get_node(pos).name]
|
||||||
if def.walkable then
|
if not def or def.walkable then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user