private bool AttemptToGiveTreatToHorse(Horse horse)
        {
            string type = horse.GetType().ToString();
            string id   = horse.id.ToString();

            HorseTreat treatHandler = new HorseTreat(horse, this.Config);

            // Refuse a poisonous treat
            if (treatHandler.IsPoisonous(Game1.player.ActiveObject))
            {
                treatHandler.RefuseTreat(true);

                return(false);
            }

            // Can only give a treat once per day
            if (this.GivenTreatToday(type, id))
            {
                treatHandler.RefuseTreat(false);

                return(false);
            }

            treatHandler.GiveTreat();

            this.TrackGivenTreat(type, id);

            return(true);
        }
        private void AttemptToGiveTreatToHorse(Horse horse)
        {
            var type = horse.GetType().ToString();
            var id   = horse.id.ToString();

            var treatHandler = new HorseTreat(horse, _config);

            // Refuse a poisonous treat
            if (CharacterTreat.IsPoisonous(Game1.player.ActiveObject))
            {
                treatHandler.RefuseTreat(true);

                return;
            }

            // Can only give a treat once per day
            if (GivenTreatToday(type, id))
            {
                treatHandler.RefuseTreat(false);

                return;
            }

            treatHandler.GiveTreat();

            TrackGivenTreat(type, id);
        }