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 --- grapes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grapes.lua') diff --git a/grapes.lua b/grapes.lua index ffd5698..9c93016 100644 --- a/grapes.lua +++ b/grapes.lua @@ -16,7 +16,7 @@ minetest.register_craftitem("farming:grapes", { if nodename == "farming:trellis" then minetest.set_node(pointed_thing.under, {name = "farming:grapes_1"}) - minetest.sound_play("default_place_node", {gain = 1.0}) + minetest.sound_play("default_place_node", {pos = pointed_thing.above, gain = 1.0}) else return end -- cgit v1.2.3