mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Update chipsgg to ignore koth (whatever that is)
This commit is contained in:
@@ -189,6 +189,8 @@ public class Chipsgg : IDisposable
|
|||||||
var innerDataPath = innerData[0].Deserialize<List<string>>();
|
var innerDataPath = innerData[0].Deserialize<List<string>>();
|
||||||
if (innerDataPath == null || innerDataPath.Count == 0) throw new Exception("innerDataPath was null or contained no elements");
|
if (innerDataPath == null || innerDataPath.Count == 0) throw new Exception("innerDataPath was null or contained no elements");
|
||||||
if (innerDataPath.Contains("metrics")) continue;
|
if (innerDataPath.Contains("metrics")) continue;
|
||||||
|
// No idea with koth is, so we'll ignore it
|
||||||
|
if (innerDataPath[0] == "koth") return;
|
||||||
var currency = innerDataPath[1];
|
var currency = innerDataPath[1];
|
||||||
if (_currencies.TryGetValue(currency, out var updatedCurrency))
|
if (_currencies.TryGetValue(currency, out var updatedCurrency))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user