summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/LargeTerrainFeatureListChangedEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events/LargeTerrainFeatureListChangedEventArgs.cs')
-rw-r--r--src/SMAPI/Events/LargeTerrainFeatureListChangedEventArgs.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Events/LargeTerrainFeatureListChangedEventArgs.cs b/src/SMAPI/Events/LargeTerrainFeatureListChangedEventArgs.cs
index c7d55bf8..59d79f0f 100644
--- a/src/SMAPI/Events/LargeTerrainFeatureListChangedEventArgs.cs
+++ b/src/SMAPI/Events/LargeTerrainFeatureListChangedEventArgs.cs
@@ -21,6 +21,9 @@ namespace StardewModdingAPI.Events
/// <summary>The large terrain features removed from the location.</summary>
public IEnumerable<LargeTerrainFeature> Removed { get; }
+ /// <summary>Whether this is the location containing the local player.</summary>
+ public bool IsCurrentLocation => object.ReferenceEquals(this.Location, Game1.player?.currentLocation);
+
/*********
** Public methods