forked from VoxeLibre/VoxeLibre
Fixed slight error.
This commit is contained in:
parent
428ae9ac0d
commit
90842c5f25
|
@ -76,9 +76,9 @@ local function composter_add_item(pos, node, player, itemstack, pointed_thing)
|
|||
if chance > 0 then
|
||||
if not is_creative_enabled(player:get_player_name()) then
|
||||
itemstack:take_item()
|
||||
minetest.sound_play({name="default_gravel_dug", gain=1, max_hear_distance=16}, {
|
||||
minetest.sound_play({name="default_gravel_dug", gain=1}, {
|
||||
pos = pos,
|
||||
max_hear_distance = 32,
|
||||
max_hear_distance = 16,
|
||||
}, true)
|
||||
end
|
||||
-- calculate leveling up chance
|
||||
|
|
Loading…
Reference in New Issue