summaryrefslogtreecommitdiff
path: root/grapes.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-04-02 13:42:14 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-04-02 13:42:14 +0100
commit61088aeb380d577fac7a50b9ae5f901f5f084776 (patch)
tree9ab7f20ab2a0cc6fed9dc14063c02c91d2c9ad1d /grapes.lua
parente97439084433f572dbf4103fc0cffff7f3d5a901 (diff)
Fixed sound positions on placing crops
Diffstat (limited to 'grapes.lua')
-rw-r--r--grapes.lua2
1 files changed, 1 insertions, 1 deletions
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