/// <summary>
 /// Applied before OnStorageChange runs.
 /// </summary>
 internal static bool Prefix(FishFeeder.Instance smi, object data)
 {
     if (data is GameObject go && go != null)
     {
         smi.Get <Storage>().StartCoroutine(FishFeederFix(smi));
     }
     // Stop the bugged original method from running at all
     return(false);
 }
        /// <summary>
        /// A coroutine used to fix the fish feeder by waiting a frame before refilling it
        /// after a Pacu eats.
        /// </summary>
        private static System.Collections.IEnumerator FishFeederFix(FishFeeder.Instance smi)
        {
            yield return(null);

            if (smi != null && smi.gameObject != null)
            {
                smi.fishFeederTop.RefreshStorage();
                smi.fishFeederBot.RefreshStorage();
            }
        }