Fix cooling target node type for real

This commit is contained in:
FaceDeer 2018-11-20 23:37:19 -07:00
parent fff728c4df
commit 03638b7b9a

@ -94,7 +94,7 @@ minetest.register_abm{
local def = minetest.registered_nodes[name]
local target = def._magma_conduits_cools_to
if target then
minetest.set_node(pos, {name = "default:cobble"})
minetest.set_node(pos, {name = target})
else
minetest.log("error", name .. " is in group lava_heated but doesn't have a _magma_conduits_cools_to property defined in its definition")
end