Make it work with river water

This commit is contained in:
anarquimico 2023-03-01 20:52:02 -03:00 committed by PrairieWind
parent f4c26fb578
commit 0aa3c52263

View file

@ -104,6 +104,11 @@ if mod_mclx_core then
end
sound_place("mcl_core:water_source", pos)
return false, true
-- Put water into mangrove roots
elseif minetest.get_node(pos).name == "mcl_mangrove:mangrove_roots" then
minetest.set_node(pos, {name="mcl_mangrove:water_logged_roots"})
sound_place("mcl_core:water_source", pos)
return false, true
else
-- Evaporate water if used in Nether (except on cauldron)
local dim = mcl_worlds.pos_to_dimension(pos)