summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/PlayerEvents.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-11-19 13:48:19 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-11-19 13:48:19 -0500
commit593723b7940ba72a786fc4c7366c56f9813d977b (patch)
tree4d23fbef5bc5a20115f10ca04ae3379df78cc8e1 /src/SMAPI/Events/PlayerEvents.cs
parent4f28ea33bd7cc65485402c5e85259083e86b49e1 (diff)
parent3dc27a5681dcfc4ae30e95570d9966f2e14a4dd7 (diff)
downloadSMAPI-593723b7940ba72a786fc4c7366c56f9813d977b.tar.gz
SMAPI-593723b7940ba72a786fc4c7366c56f9813d977b.tar.bz2
SMAPI-593723b7940ba72a786fc4c7366c56f9813d977b.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Events/PlayerEvents.cs')
-rw-r--r--src/SMAPI/Events/PlayerEvents.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/SMAPI/Events/PlayerEvents.cs b/src/SMAPI/Events/PlayerEvents.cs
index 6e7050e3..bfc1b569 100644
--- a/src/SMAPI/Events/PlayerEvents.cs
+++ b/src/SMAPI/Events/PlayerEvents.cs
@@ -19,22 +19,22 @@ namespace StardewModdingAPI.Events
/// <summary>Raised after the player's inventory changes in any way (added or removed item, sorted, etc).</summary>
public static event EventHandler<EventArgsInventoryChanged> InventoryChanged
{
- add => PlayerEvents.EventManager.Player_InventoryChanged.Add(value);
- remove => PlayerEvents.EventManager.Player_InventoryChanged.Remove(value);
+ add => PlayerEvents.EventManager.Legacy_InventoryChanged.Add(value);
+ remove => PlayerEvents.EventManager.Legacy_InventoryChanged.Remove(value);
}
/// <summary>Raised after the player levels up a skill. This happens as soon as they level up, not when the game notifies the player after their character goes to bed.</summary>
public static event EventHandler<EventArgsLevelUp> LeveledUp
{
- add => PlayerEvents.EventManager.Player_LeveledUp.Add(value);
- remove => PlayerEvents.EventManager.Player_LeveledUp.Remove(value);
+ add => PlayerEvents.EventManager.Legacy_LeveledUp.Add(value);
+ remove => PlayerEvents.EventManager.Legacy_LeveledUp.Remove(value);
}
/// <summary>Raised after the player warps to a new location.</summary>
public static event EventHandler<EventArgsPlayerWarped> Warped
{
- add => PlayerEvents.EventManager.Player_Warped.Add(value);
- remove => PlayerEvents.EventManager.Player_Warped.Remove(value);
+ add => PlayerEvents.EventManager.Legacy_PlayerWarped.Add(value);
+ remove => PlayerEvents.EventManager.Legacy_PlayerWarped.Remove(value);
}