Fixed bug due to accidental early commit

This commit is contained in:
ClxS 2016-03-04 19:14:19 +00:00
parent c145e5f727
commit 210db71a92
2 changed files with 4 additions and 4 deletions

View File

@ -92,9 +92,9 @@ namespace StardewModdingAPI.Events
public Farmer PriorFarmer { get; private set; }
}
public class EventArgsInventory : EventArgs
public class EventArgsInventoryChanged : EventArgs
{
public EventArgsInventory(List<Item> inventory)
public EventArgsInventoryChanged(List<Item> inventory)
{
Inventory = inventory;
}

View File

@ -10,7 +10,7 @@ namespace StardewModdingAPI.Events
public static class PlayerEvents
{
public static event EventHandler<EventArgsFarmerChanged> FarmerChanged = delegate { };
public static event EventHandler<EventArgsInventory> InventoryChanged = delegate { };
public static event EventHandler<EventArgsInventoryChanged> InventoryChanged = delegate { };
public static void InvokeFarmerChanged(Farmer priorFarmer, Farmer newFarmer)
{
@ -19,7 +19,7 @@ namespace StardewModdingAPI.Events
public static void InvokeInventoryChanged(List<Item> inventory)
{
FarmerChanged.Invoke(null, new InventoryChanged(inventory));
InventoryChanged.Invoke(null, new EventArgsInventoryChanged(inventory));
}
}
}