Fix no placement sound of chorus flower

This commit is contained in:
Wuzzy 2018-01-23 02:56:46 +01:00
parent 92a595e9e7
commit e3c207c312

@ -91,7 +91,8 @@ minetest.register_node("mcl_end:chorus_flower", {
end end
if plant_ok then if plant_ok then
-- Placement OK! Proceed normally -- Placement OK! Proceed normally
return minetest.item_place(itemstack, placer, pointed_thing) minetest.sound_play(mcl_sounds.node_sound_wood_defaults().place, {pos = pos})
return minetest.item_place_node(itemstack, placer, pointed_thing)
else else
return itemstack return itemstack
end end