Fix place sound played when vines placement failed

This commit is contained in:
Wuzzy 2017-05-27 18:31:10 +02:00
parent 524c526ba6
commit e75f08f1db
1 changed files with 1 additions and 1 deletions

View File

@ -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