static void Postfix(ref CardFrameUI __instance, CardState cardState, List <AbstractSpriteSelector> ___spriteSelectors)
            {
                try
                {
                    if (cardState.GetLinkedClassID() == null)
                    {
                        return;
                    }
                    List <Sprite> cardFrame;
                    if (CustomClassManager.CustomClassFrame.TryGetValue(cardState.GetLinkedClassID(), out cardFrame))
                    {
                        foreach (AbstractSpriteSelector spriteSelector in ___spriteSelectors)
                        {
                            switch (spriteSelector)
                            {
                            case ClassSpriteSelector classSpriteSelector:

                                foreach (var image in classSpriteSelector.gameObject.GetComponents <Image>())
                                {
                                    image.sprite = cardState.GetCardType() == CardType.Monster ? cardFrame[0] : cardFrame[1];
                                }
                                continue;
                            }
                        }
                    }
                }
                catch (Exception)
                {
                    Trainworks.Log(BepInEx.Logging.LogLevel.Error, "TryGetValue is a dumb function.");
                }
            }