Fix accidental extra spaces

This commit is contained in:
SmokeyDope 2023-03-16 01:54:42 +00:00 committed by Gitea
parent 20f8e18098
commit 89f2c06af2

View file

@ -92,10 +92,9 @@ local function composter_add_item(pos, node, player, itemstack, pointed_thing)
level = "ready"
end
swap_node(pos, {name = "mcl_composters:composter_" .. level})
minetest.sound_play({name="default_grass_footstep", pos=above, gain=1}, true)
-- a full composter becomes ready for harvest after one second
-- the block will get updated by the node timer callback set in node reg def
minetest.sound_play({name="default_grass_footstep", pos=above, gain=1}, true)
if level == 7 then
local timer = get_node_timer(pos)
timer:start(1)