From e75f08f1db32630fd9ddd664ed2ef4fdf312c526 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 27 May 2017 18:31:10 +0200 Subject: [PATCH] Fix place sound played when vines placement failed --- mods/ITEMS/mcl_core/nodes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/nodes.lua b/mods/ITEMS/mcl_core/nodes.lua index 4434e21c..b69cb6f9 100644 --- a/mods/ITEMS/mcl_core/nodes.lua +++ b/mods/ITEMS/mcl_core/nodes.lua @@ -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