What type of bug are you reporting? Client
What is the bug?
(Please check more details in https://github.com/smogon/pokemon-showdown-client/issues/2720)
Replays involving a player with a custom (server-served) avatar crash with:
TypeError: Cannot read properties of undefined (reading 'port')...