ObjectAccessor::GetPlayer will do the same