public PlayerCreature GetCharacterOrPet(long entityId) { PlayerCreature result = this.Characters.FirstOrDefault(a => a.EntityId == entityId); if (result == null) result = this.Pets.FirstOrDefault(a => a.EntityId == entityId); return result; }