Fixed for river_water_logged_roots

This commit is contained in:
anarquimico 2023-03-01 21:10:57 -03:00 committed by PrairieWind
parent 0aa3c52263
commit 6bdc0f032f

View file

@ -104,9 +104,9 @@ if mod_mclx_core then
end end
sound_place("mcl_core:water_source", pos) sound_place("mcl_core:water_source", pos)
return false, true return false, true
-- Put water into mangrove roots -- Put river water into mangrove roots
elseif minetest.get_node(pos).name == "mcl_mangrove:mangrove_roots" then elseif minetest.get_node(pos).name == "mcl_mangrove:mangrove_roots" then
minetest.set_node(pos, {name="mcl_mangrove:water_logged_roots"}) minetest.set_node(pos, {name="mcl_mangrove:river_water_logged_roots"})
sound_place("mcl_core:water_source", pos) sound_place("mcl_core:water_source", pos)
return false, true return false, true
else else