summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events/Mine.cs
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-26 21:50:47 -0400
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-26 21:50:47 -0400
commit36fb605a7c5262a04e2752c55ae97093d26c1a73 (patch)
tree3d77521f80fa319ed86de1cdf63bbc6c2ec50103 /StardewModdingAPI/Events/Mine.cs
parent02fe4b3e33f77a4f983e1b83733cd888606fe4e6 (diff)
downloadSMAPI-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.cs6
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));
}
}
}