summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/ModItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'StardewModdingAPI/ModItem.cs')
-rw-r--r--StardewModdingAPI/ModItem.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/StardewModdingAPI/ModItem.cs b/StardewModdingAPI/ModItem.cs
index aea3a131..10c4fde4 100644
--- a/StardewModdingAPI/ModItem.cs
+++ b/StardewModdingAPI/ModItem.cs
@@ -3,12 +3,16 @@ using StardewValley;
namespace StardewModdingAPI
{
- class ModItem : Object
+ internal class ModItem : Object
{
- public Item AsItem { get { return this; } }
+ public Item AsItem
+ {
+ get { return this; }
+ }
+
public override string Name { get; set; }
public string Description { get; set; }
public int ID { get; set; }
public Texture2D Texture { get; set; }
}
-}
+} \ No newline at end of file