summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/ItemStackChange.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events/ItemStackChange.cs')
-rw-r--r--src/SMAPI/Events/ItemStackChange.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/SMAPI/Events/ItemStackChange.cs b/src/SMAPI/Events/ItemStackChange.cs
index f9ae6df6..dbb529d6 100644
--- a/src/SMAPI/Events/ItemStackChange.cs
+++ b/src/SMAPI/Events/ItemStackChange.cs
@@ -16,5 +16,10 @@ namespace StardewModdingAPI.Events
/// <summary>How the inventory slot changed.</summary>
public ChangeType ChangeType { get; set; }
+
+ public override string ToString()
+ {
+ return this.StackChange + " " + this.Item.Name + " " + this.ChangeType.ToString();
+ }
}
-} \ No newline at end of file
+}