private static void Postfix(ref CraftingPage __instance, BlueprintItem ___m_BPI)
        {
            __instance.m_DescriptionLabel.color = WhiteColor;
            if (!___m_BPI)
            {
                return;
            }
            if (!___m_BPI.m_CraftedResult)
            {
                return;
            }

            if (!MendingHelper.IsClothing(___m_BPI))
            {
                return;
            }

            var mendingLevel         = MendingHelper.GetCurrentMendingLevel();
            var requiredMendingLevel = MendingHelper.GetRequiredMendingLevel(___m_BPI);

            if (mendingLevel < requiredMendingLevel)
            {
                __instance.m_DescriptionLabel.text  = "REQUIRES MENDING LEVEL " + requiredMendingLevel;
                __instance.m_DescriptionLabel.color = RedColor;
            }
        }
        public static void Prefix(string itemName)
        {
            Debug.Log("[MENDING] Crafted " + itemName);
            var xp = MendingHelper.GetXpForCrafting(itemName);

            if (xp > 0)
            {
                MendingHelper.AddMendingXP(xp);
            }
        }
        static bool Postfix(bool __result, ref BlueprintItem __instance)
        {
            if (__result == false)
            {
                return(false);
            }

            var mendingLevel         = MendingHelper.GetCurrentMendingLevel();
            var requiredMendingLevel = MendingHelper.GetRequiredMendingLevel(__instance);

            if (mendingLevel < requiredMendingLevel)
            {
                return(false);
            }

            return(true);
        }