Fix some global variable warnings
This commit is contained in:
parent
a589cbc17a
commit
823c20bd1b
4 changed files with 5 additions and 5 deletions
|
@ -267,7 +267,7 @@ function mcl_util.generate_on_place_plant_function(condition)
|
|||
|
||||
if success then
|
||||
if idef.sounds and idef.sounds.place then
|
||||
minetest.sound_play(idef.sounds.place, {pos=above, gain=1})
|
||||
minetest.sound_play(idef.sounds.place, {pos=pointed_thing.above, gain=1})
|
||||
end
|
||||
end
|
||||
itemstack = new_itemstack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue