Refactored death message into the PlayerDeathListener's event handler