Describe the bug
After logging out from singleplayer world into a main menu there is a chance of multiple music tracks will be played at the same time.
To Reproduce
I don't know any precise steps to reproduce it, however, here the steps i do in order to bug it:
Set an audio device to specific one in custom settings. You don't have to set it in every attempt.
Login into a new world.
Do casual gameplay.
Occasionally send /stopsound @s command
Log out from world.
Repeat till it breaks.
Expected behavior
Only one or none music track should play in the main menu.
Runtime info (please complete the following information):
Describe the bug After logging out from singleplayer world into a main menu there is a chance of multiple music tracks will be played at the same time.
To Reproduce I don't know any precise steps to reproduce it, however, here the steps i do in order to bug it:
/stopsound @s
commandExpected behavior Only one or none music track should play in the main menu.
Runtime info (please complete the following information):
Crash reports / logs https://paste.nolog.cz/?34d9faacd3b39744#FySvNNST8gtoxF1XcgiacM5WcG65SSxCbG24H6DAKxEu
Checklist