summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/StateTracking/Snapshots
diff options
context:
space:
mode:
authorwartech0 <wartech0@hotmail.com>2019-12-31 01:36:18 -0600
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-31 16:25:51 -0500
commit2894b4322304022b1924e4554c762b560b66b614 (patch)
tree21234b572c620a36b83c7d9966602487b612f7a3 /src/SMAPI/Framework/StateTracking/Snapshots
parent1286a90ec2fb0dcf26bd59feec714544844e4398 (diff)
downloadSMAPI-2894b4322304022b1924e4554c762b560b66b614.tar.gz
SMAPI-2894b4322304022b1924e4554c762b560b66b614.tar.bz2
SMAPI-2894b4322304022b1924e4554c762b560b66b614.zip
reworking chest event handler
Diffstat (limited to 'src/SMAPI/Framework/StateTracking/Snapshots')
-rw-r--r--src/SMAPI/Framework/StateTracking/Snapshots/WorldLocationsSnapshot.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/StateTracking/Snapshots/WorldLocationsSnapshot.cs b/src/SMAPI/Framework/StateTracking/Snapshots/WorldLocationsSnapshot.cs
index 73ed2d8f..ed8001d6 100644
--- a/src/SMAPI/Framework/StateTracking/Snapshots/WorldLocationsSnapshot.cs
+++ b/src/SMAPI/Framework/StateTracking/Snapshots/WorldLocationsSnapshot.cs
@@ -43,7 +43,7 @@ namespace StardewModdingAPI.Framework.StateTracking.Snapshots
foreach (LocationTracker locationWatcher in watcher.Locations)
{
if (!this.LocationsDict.TryGetValue(locationWatcher.Location, out LocationSnapshot snapshot))
- this.LocationsDict[locationWatcher.Location] = snapshot = new LocationSnapshot(locationWatcher.Location);
+ this.LocationsDict[locationWatcher.Location] = snapshot = new LocationSnapshot(locationWatcher);
snapshot.Update(locationWatcher);
}