Fix NPE when getInvitedId is null (game in progress or no invited player)
Merge branch 'master' of https://github.com/addstar/ChessCraft