using GadgetCore.API; using HarmonyLib; namespace VanitySlots.Patches { [HarmonyPatch(typeof(GameScript))] [HarmonyPatch("LoadGame")] [HarmonyGadget("VanitySlots")] public static class Patch_GameScript_LoadGame { [HarmonyPostfix] public static void Postfix(GameScript __instance, Item[] ___storage, ref int ___storageLevel) { Core.itemStore.Load(); } } }