Fixed a player id bug that prevented sending of messages