mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-01-15 04:30:26 +01:00
Pearls don't grow on falling nodes
This commit is contained in:
parent
19f14ea356
commit
c20e3918ef
@ -103,7 +103,10 @@ local is_valid_mounting_node = function(c_node)
|
|||||||
return valid_nodes[c_node]
|
return valid_nodes[c_node]
|
||||||
end
|
end
|
||||||
local def = minetest.registered_nodes[minetest.get_name_from_content_id(c_node)]
|
local def = minetest.registered_nodes[minetest.get_name_from_content_id(c_node)]
|
||||||
if def ~= nil and (def.drawtype == "normal" or def.drawtype == nil) and (not def.buildable_to) then
|
if def ~= nil
|
||||||
|
and (def.drawtype == "normal" or def.drawtype == nil)
|
||||||
|
and not def.buildable_to
|
||||||
|
and not (def.groups and def.groups.falling_node) then
|
||||||
valid_nodes[c_node] = true
|
valid_nodes[c_node] = true
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user