From 453c39ff76270c258e931597e2f8bbc3b356fc11 Mon Sep 17 00:00:00 2001 From: cadon Date: Sun, 8 Sep 2024 20:22:27 +0200 Subject: [PATCH 1/2] fix exception for creatures with unknown species --- ARKBreedingStats/Form1.library.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ARKBreedingStats/Form1.library.cs b/ARKBreedingStats/Form1.library.cs index e8b3f40c..6fdac78f 100644 --- a/ARKBreedingStats/Form1.library.cs +++ b/ARKBreedingStats/Form1.library.cs @@ -572,6 +572,7 @@ private void CalculateTopStats(List creatures, Species onlySpecies = n var considerTopStats = new Dictionary(); foreach (Creature c in creatures) { + if (c.Species == null) continue; if (!considerTopStats.TryGetValue(c.Species, out var consideredTopStats)) { consideredTopStats = StatsTopStats.GetStatsOptions(c.Species).StatOptions.Select(si => si.ConsiderStat).ToArray(); From cb6ee601dfa8f248f151c10725513a352eae0e03 Mon Sep 17 00:00:00 2001 From: cadon Date: Sun, 8 Sep 2024 20:23:40 +0200 Subject: [PATCH 2/2] ver --- ARKBreedingStats/Properties/AssemblyInfo.cs | 2 +- ARKBreedingStats/_manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ARKBreedingStats/Properties/AssemblyInfo.cs b/ARKBreedingStats/Properties/AssemblyInfo.cs index 19ce661c..fa146b31 100644 --- a/ARKBreedingStats/Properties/AssemblyInfo.cs +++ b/ARKBreedingStats/Properties/AssemblyInfo.cs @@ -30,6 +30,6 @@ // Revision // [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("0.63.0.0")] +[assembly: AssemblyFileVersion("0.63.0.1")] [assembly: NeutralResourcesLanguage("en")] diff --git a/ARKBreedingStats/_manifest.json b/ARKBreedingStats/_manifest.json index 1c57342a..81f87c27 100644 --- a/ARKBreedingStats/_manifest.json +++ b/ARKBreedingStats/_manifest.json @@ -4,7 +4,7 @@ "ARK Smart Breeding": { "Id": "ARK Smart Breeding", "Category": "main", - "version": "0.63.0.0" + "version": "0.63.0.1" }, "SpeciesColorImages": { "Id": "SpeciesColorImages",