diff options
Diffstat (limited to 'sealife.lua')
-rw-r--r-- | sealife.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sealife.lua b/sealife.lua index 8a7a245..41de5d0 100644 --- a/sealife.lua +++ b/sealife.lua @@ -166,15 +166,15 @@ minetest.register_abm({ if height < 14 and pos.y < 0 and minetest.get_node(pos).name == "default:water_source" then - minetest.set_node(pos, {name = "ethereal:seaweed"}) + minetest.swap_node(pos, {name = "ethereal:seaweed"}) end else pos.y = pos.y + 1 if minetest.get_node(pos).name == "default:water_source" then - minetest.set_node(pos, {name = "ethereal:coral"..sel}) + minetest.swap_node(pos, {name = "ethereal:coral"..sel}) end end end, -})
\ No newline at end of file +}) |