summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-11 20:45:58 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-11 20:45:58 -0400
commit98fa9f03891e3dc487bee6dcb3756e6251c67aef (patch)
tree03413377cf0810b4c9f8cf1a9c63b49ff197789b /src/SMAPI/Events
parentde17f87d87f5964483e2abbae8169beff19a89f8 (diff)
downloadSMAPI-98fa9f03891e3dc487bee6dcb3756e6251c67aef.tar.gz
SMAPI-98fa9f03891e3dc487bee6dcb3756e6251c67aef.tar.bz2
SMAPI-98fa9f03891e3dc487bee6dcb3756e6251c67aef.zip
update for Stardew Valley 1.3.0.5 (#453)
Diffstat (limited to 'src/SMAPI/Events')
-rw-r--r--src/SMAPI/Events/EventArgsGameLocationsChanged.cs6
-rw-r--r--src/SMAPI/Events/EventArgsLocationObjectsChanged.cs1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/SMAPI/Events/EventArgsGameLocationsChanged.cs b/src/SMAPI/Events/EventArgsGameLocationsChanged.cs
index fb8c821e..78ba38fa 100644
--- a/src/SMAPI/Events/EventArgsGameLocationsChanged.cs
+++ b/src/SMAPI/Events/EventArgsGameLocationsChanged.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using StardewValley;
@@ -11,7 +11,7 @@ namespace StardewModdingAPI.Events
** Accessors
*********/
/// <summary>The current list of game locations.</summary>
- public List<GameLocation> NewLocations { get; }
+ public IList<GameLocation> NewLocations { get; }
/*********
@@ -19,7 +19,7 @@ namespace StardewModdingAPI.Events
*********/
/// <summary>Construct an instance.</summary>
/// <param name="newLocations">The current list of game locations.</param>
- public EventArgsGameLocationsChanged(List<GameLocation> newLocations)
+ public EventArgsGameLocationsChanged(IList<GameLocation> newLocations)
{
this.NewLocations = newLocations;
}
diff --git a/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs b/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs
index de3c31ea..180e9d78 100644
--- a/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs
+++ b/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs
@@ -1,6 +1,7 @@
using System;
using Microsoft.Xna.Framework;
#if STARDEW_VALLEY_1_3
+using System.Collections.Generic;
using Netcode;
#else
using StardewValley;