fork update #10

Merged
chmodsayshello merged 220 commits from VoxeLibre/VoxeLibre:master into master 2023-06-04 12:44:03 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 90842c5f25 - Show all commits

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