diff --git a/GeneralMods/Revitalize/Framework/Utilities/InventoryManager.cs b/GeneralMods/Revitalize/Framework/Utilities/InventoryManager.cs index 93fd67af..e127fa7a 100644 --- a/GeneralMods/Revitalize/Framework/Utilities/InventoryManager.cs +++ b/GeneralMods/Revitalize/Framework/Utilities/InventoryManager.cs @@ -60,6 +60,18 @@ namespace Revitalize.Framework.Utilities } } + /// + /// Checks to see if this core object actually has a valid inventory. + /// + public bool HasInventory + { + get + { + if (this.capacity <= 0) return false; + return true; + } + } + public InventoryManager() { this.capacity = 0;