mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Fix place sound played when vines placement failed
This commit is contained in:
parent
524c526ba6
commit
e75f08f1db
@ -1511,7 +1511,7 @@ minetest.register_node("mcl_core:vine", {
|
||||
return itemstack
|
||||
end
|
||||
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 idef.sounds and idef.sounds.place then
|
||||
|
Loading…
Reference in New Issue
Block a user