summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/WarpedEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events/WarpedEventArgs.cs')
-rw-r--r--src/SMAPI/Events/WarpedEventArgs.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Events/WarpedEventArgs.cs b/src/SMAPI/Events/WarpedEventArgs.cs
index cb7ff204..95c53ad9 100644
--- a/src/SMAPI/Events/WarpedEventArgs.cs
+++ b/src/SMAPI/Events/WarpedEventArgs.cs
@@ -18,6 +18,9 @@ namespace StardewModdingAPI.Events
/// <summary>The player's current location.</summary>
public GameLocation NewLocation { get; }
+ /// <summary>Whether the affected player is the local one.</summary>
+ public bool IsLocalPlayer => this.Player.IsLocalPlayer;
+
/*********