diff options
| author | ClxS <slxxls92@gmail.com> | 2016-03-04 14:05:36 +0000 |
|---|---|---|
| committer | ClxS <slxxls92@gmail.com> | 2016-03-04 14:05:36 +0000 |
| commit | afef5648ca512d0c151a87becbb85cd14494717b (patch) | |
| tree | ac6a43b303193918538306a04e45498327411df3 /TrainerMod | |
| parent | ec81b3306e0a84dbc842bbf8724354db037f24bf (diff) | |
| download | SMAPI-afef5648ca512d0c151a87becbb85cd14494717b.tar.gz SMAPI-afef5648ca512d0c151a87becbb85cd14494717b.tar.bz2 SMAPI-afef5648ca512d0c151a87becbb85cd14494717b.zip | |
Refactored all of the events into their own categories
Diffstat (limited to 'TrainerMod')
| -rw-r--r-- | TrainerMod/TrainerMod.cs | 3 | ||||
| -rw-r--r-- | TrainerMod/TrainerMod.csproj | 4 |
2 files changed, 4 insertions, 3 deletions
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 @@ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
- <PostBuildEvent>mkdir "$(SolutionDir)Release\Mods\" -copy /y "$(SolutionDir)$(ProjectName)\$(OutDir)TrainerMod.dll" "$(SolutionDir)Release\Mods\"</PostBuildEvent>
+ <PostBuildEvent>
+ </PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. |
