1
0
Fork 0

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
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ minetest.register_node("mcl_end:chorus_flower", {
end
if plant_ok then
-- 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
return itemstack
end