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