diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-02 13:42:14 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-02 13:42:14 +0100 |
commit | 61088aeb380d577fac7a50b9ae5f901f5f084776 (patch) | |
tree | 9ab7f20ab2a0cc6fed9dc14063c02c91d2c9ad1d /cocoa.lua | |
parent | e97439084433f572dbf4103fc0cffff7f3d5a901 (diff) |
Fixed sound positions on placing crops
Diffstat (limited to 'cocoa.lua')
-rw-r--r-- | cocoa.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |