mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-03-31 01:10:27 +02:00
Ensafen intersection function
This commit is contained in:
parent
807e6d5f0b
commit
fe649e8d68
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user