diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-26 21:50:47 -0400 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-26 21:50:47 -0400 |
commit | 36fb605a7c5262a04e2752c55ae97093d26c1a73 (patch) | |
tree | 3d77521f80fa319ed86de1cdf63bbc6c2ec50103 /StardewModdingAPI/Events/Mine.cs | |
parent | 02fe4b3e33f77a4f983e1b83733cd888606fe4e6 (diff) | |
download | SMAPI-36fb605a7c5262a04e2752c55ae97093d26c1a73.tar.gz SMAPI-36fb605a7c5262a04e2752c55ae97093d26c1a73.tar.bz2 SMAPI-36fb605a7c5262a04e2752c55ae97093d26c1a73.zip |
uhhhhhh. async logging. an event i think. something or other. mid-update commit.
Diffstat (limited to 'StardewModdingAPI/Events/Mine.cs')
-rw-r--r-- | StardewModdingAPI/Events/Mine.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/StardewModdingAPI/Events/Mine.cs b/StardewModdingAPI/Events/Mine.cs index 2f4e9ba7..f48e9574 100644 --- a/StardewModdingAPI/Events/Mine.cs +++ b/StardewModdingAPI/Events/Mine.cs @@ -4,11 +4,11 @@ namespace StardewModdingAPI.Events {
public static class MineEvents
{
- public static event EventHandler<EventArgsCurrentLocationChanged> MineLevelChanged = delegate { };
+ public static event EventHandler<EventArgsMineLevelChanged> MineLevelChanged = delegate { };
- public static void InvokeLocationsChanged(int currentMineLevel)
+ public static void InvokeMineLevelChanged(int previousMinelevel, int currentMineLevel)
{
-
+ MineLevelChanged.Invoke(null, new EventArgsMineLevelChanged(previousMinelevel, currentMineLevel));
}
}
}
|