summaryrefslogtreecommitdiff
path: root/beanpole.lua
diff options
context:
space:
mode:
Diffstat (limited to 'beanpole.lua')
-rw-r--r--beanpole.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/beanpole.lua b/beanpole.lua
index 4c14b80..cda736f 100644
--- a/beanpole.lua
+++ b/beanpole.lua
@@ -21,7 +21,7 @@ minetest.register_craftitem("farming:beans", {
if nodename == "farming:beanpole" then
minetest.set_node(pointed_thing.under, {name = "farming:beanpole_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