Check world for null in MusicPlayerLogic to prevent crashing the lobby

Fixes #6517