mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-20 14:04:10 +02:00
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
Block a user