mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
Fix place sound played when vines placement failed
This commit is contained in:
parent
524c526ba6
commit
e75f08f1db
1 changed files with 1 additions and 1 deletions
|
@ -1511,7 +1511,7 @@ minetest.register_node("mcl_core:vine", {
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
local idef = itemstack:get_definition()
|
local idef = itemstack:get_definition()
|
||||||
local success = minetest.item_place_node(itemstack, placer, pointed_thing)
|
local itemstack, success = minetest.item_place_node(itemstack, placer, pointed_thing)
|
||||||
|
|
||||||
if success then
|
if success then
|
||||||
if idef.sounds and idef.sounds.place then
|
if idef.sounds and idef.sounds.place then
|
||||||
|
|
Loading…
Reference in a new issue