Fix crash when a cocoa flower grows to pod
This commit is contained in:
parent
c7b3bbcd20
commit
a674614abb
@ -90,7 +90,7 @@ function refruit.add_refruit(id, def)
|
||||
interval = def.flower_interval,
|
||||
chance = def.flower_chance,
|
||||
action = function(pos, node)
|
||||
minetest.set_node(pos, {name="hades_trees:"..id})
|
||||
minetest.set_node(pos, {name=def.fruit_itemstring})
|
||||
end,
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user