mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-21 15:39:33 +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
|
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
|
||||||
|
|
Loading…
Reference in a new issue