summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs')
-rw-r--r--StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs b/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
index a51b2d71..436b834d 100644
--- a/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
+++ b/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
@@ -12,8 +12,7 @@ namespace StardewModdingAPI.Inheritance.Menus
public static SInventoryPage ConstructFromBaseClass(InventoryPage baseClass)
{
- var s = new SInventoryPage(0, 0, 0, 0);
- s.BaseInventoryPage = baseClass;
+ var s = new SInventoryPage(0, 0, 0, 0) {BaseInventoryPage = baseClass};
return s;
}
}