mirror of
https://github.com/minetest-mods/magma_conduits.git
synced 2025-01-22 20:31:42 +01:00
Fix cooling target node type for real
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user