mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 05:51:05 +01:00
Fixed slight error.
This commit is contained in:
parent
428ae9ac0d
commit
90842c5f25
1 changed files with 2 additions and 2 deletions
|
@ -76,9 +76,9 @@ local function composter_add_item(pos, node, player, itemstack, pointed_thing)
|
||||||
if chance > 0 then
|
if chance > 0 then
|
||||||
if not is_creative_enabled(player:get_player_name()) then
|
if not is_creative_enabled(player:get_player_name()) then
|
||||||
itemstack:take_item()
|
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,
|
pos = pos,
|
||||||
max_hear_distance = 32,
|
max_hear_distance = 16,
|
||||||
}, true)
|
}, true)
|
||||||
end
|
end
|
||||||
-- calculate leveling up chance
|
-- calculate leveling up chance
|
||||||
|
|
Loading…
Reference in a new issue