Fixed NPE when removing a player from party