1
0
Fork 0

Fixed slight error.

This commit is contained in:
ancientmarinerdev 2023-05-31 23:18:15 +01:00
parent 428ae9ac0d
commit 90842c5f25
1 changed files with 2 additions and 2 deletions

View File

@ -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