mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 23:01:00 +02:00
Fixed sound positions on placing crops
This commit is contained in:
2
init.lua
2
init.lua
@ -578,7 +578,7 @@ function farming.place_seed(itemstack, placer, pointed_thing, plantname)
|
||||
|
||||
minetest.set_node(pt.above, {name = plantname, param2 = 1})
|
||||
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user