public PlayerCreature GetCharacterOrPetSafe(long entityId) { var r = this.GetCharacterOrPet(entityId); if (r == null) throw new SevereViolation("Account doesn't contain character 0x{0:X}", entityId); return r; }