public static bool IsRewardUnlockedPrefix(RewardUnlocks __instance, ref bool __result, string ID)
        {
            if (!__instance.Rewards.Contains(ID) && _overwriteRewardsTxt.Value)
            {
                __instance.UnlockReward(ID);
                GM.Rewards.SaveToFile();
            }

            __result = true;
            return(false);
        }
 public static bool IsRewardUnlockedPrefix(RewardUnlocks __instance, ref bool __result, ItemSpawnerID ID)
 {
     __result = __instance.IsRewardUnlocked(ID.ItemID);
     return(false);
 }