summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/ModItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'StardewModdingAPI/ModItem.cs')
-rw-r--r--StardewModdingAPI/ModItem.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/StardewModdingAPI/ModItem.cs b/StardewModdingAPI/ModItem.cs
index 10c4fde4..cf2e10b2 100644
--- a/StardewModdingAPI/ModItem.cs
+++ b/StardewModdingAPI/ModItem.cs
@@ -5,10 +5,7 @@ namespace StardewModdingAPI
{
internal class ModItem : Object
{
- public Item AsItem
- {
- get { return this; }
- }
+ public Item AsItem => this;
public override string Name { get; set; }
public string Description { get; set; }