mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-19 06:49:32 +01:00
Fix no placement sound of chorus flower
This commit is contained in:
parent
92a595e9e7
commit
e3c207c312
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue