mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-14 05:40:20 +02:00
Fix music notes when destroying jukebox
This commit is contained in:
@ -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,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user