diff --git a/Process/Processor/LooseLootProcessor.cs b/Process/Processor/LooseLootProcessor.cs index 9768654..d3db3f2 100644 --- a/Process/Processor/LooseLootProcessor.cs +++ b/Process/Processor/LooseLootProcessor.cs @@ -85,7 +85,8 @@ public static class LooseLootProcessor // we want to cleanup the data, so we calculate the mean for the values we get raw // For whatever reason, we sometimes get dumps that have A LOT more loose loot point than // the average - var initialMean = np.mean(np.array(looseLootCounts.MapSpawnpointCount)).ToArray().First(); + var values = looseLootCounts.MapSpawnpointCount.Select(Convert.ToDouble); + var initialMean = np.mean(np.array(values)).ToArray().First(); var looseLootCountTolerancePercentage = LootDumpProcessorContext.GetConfig().ProcessorConfig.LooseLootCountTolerancePercentage / 100; // We calculate here a high point to check, anything above this value will be ignored // The data that was inside those loose loot points still counts for them though!