From f53e12552b647d5b9fb7cd0ae4904ce43a45783a Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sat, 17 Aug 2024 23:53:05 +0800 Subject: [PATCH] Update chipsgg to ignore koth (whatever that is) --- KfChatDotNetBot/Services/Chipsgg.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KfChatDotNetBot/Services/Chipsgg.cs b/KfChatDotNetBot/Services/Chipsgg.cs index 96f2234..117c4db 100644 --- a/KfChatDotNetBot/Services/Chipsgg.cs +++ b/KfChatDotNetBot/Services/Chipsgg.cs @@ -189,6 +189,8 @@ public class Chipsgg : IDisposable var innerDataPath = innerData[0].Deserialize>(); if (innerDataPath == null || innerDataPath.Count == 0) throw new Exception("innerDataPath was null or contained no elements"); if (innerDataPath.Contains("metrics")) continue; + // No idea with koth is, so we'll ignore it + if (innerDataPath[0] == "koth") return; var currency = innerDataPath[1]; if (_currencies.TryGetValue(currency, out var updatedCurrency)) {