From 61088aeb380d577fac7a50b9ae5f901f5f084776 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 2 Apr 2016 13:42:14 +0100 Subject: Fixed sound positions on placing crops --- cocoa.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa.lua') diff --git a/cocoa.lua b/cocoa.lua index b618114..4e62cee 100644 --- a/cocoa.lua +++ b/cocoa.lua @@ -24,7 +24,7 @@ function place_cocoa(itemstack, placer, pointed_thing, plantname) -- add the node and remove 1 item from the itemstack minetest.set_node(pt.above, {name = plantname}) - minetest.sound_play("default_place_node", {gain = 1.0}) + minetest.sound_play("default_place_node", {pos = pt.above, gain = 1.0}) if not minetest.setting_getbool("creative_mode") then -- cgit v1.2.3