From afef5648ca512d0c151a87becbb85cd14494717b Mon Sep 17 00:00:00 2001 From: ClxS Date: Fri, 4 Mar 2016 14:05:36 +0000 Subject: Refactored all of the events into their own categories --- TrainerMod/TrainerMod.cs | 3 ++- TrainerMod/TrainerMod.csproj | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'TrainerMod') diff --git a/TrainerMod/TrainerMod.cs b/TrainerMod/TrainerMod.cs index cc6f2044..238872c2 100644 --- a/TrainerMod/TrainerMod.cs +++ b/TrainerMod/TrainerMod.cs @@ -10,6 +10,7 @@ using StardewValley; using StardewValley.Tools; using Microsoft.Xna.Framework; using StardewValley.Objects; +using StardewModdingAPI.Events; namespace TrainerMod { @@ -41,7 +42,7 @@ namespace TrainerMod public override void Entry(params object[] objects) { RegisterCommands(); - Events.UpdateTick += Events_UpdateTick; + GameEvents.UpdateTick += Events_UpdateTick; } static void Events_UpdateTick(object sender, EventArgs e) diff --git a/TrainerMod/TrainerMod.csproj b/TrainerMod/TrainerMod.csproj index 841491ad..213b3210 100644 --- a/TrainerMod/TrainerMod.csproj +++ b/TrainerMod/TrainerMod.csproj @@ -64,8 +64,8 @@ - mkdir "$(SolutionDir)Release\Mods\" -copy /y "$(SolutionDir)$(ProjectName)\$(OutDir)TrainerMod.dll" "$(SolutionDir)Release\Mods\" + +