mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-17 07:50:29 +01:00
Fix music notes when destroying jukebox
This commit is contained in:
parent
caf99c9488
commit
fd2413746d
|
@ -117,6 +117,7 @@ minetest.register_node("jukebox:box", {
|
||||||
minetest.add_item(drop_pos, inv:get_stack("main",1))
|
minetest.add_item(drop_pos, inv:get_stack("main",1))
|
||||||
if meta:get_string("now_playing") then minetest.sound_stop(meta:get_string("now_playing")) end
|
if meta:get_string("now_playing") then minetest.sound_stop(meta:get_string("now_playing")) end
|
||||||
end
|
end
|
||||||
|
free_particles(pos)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user