/// <summary> /// Checks whether an item can be dropped from the specified slot. /// </summary> /// <param name="slot">The slot to check for.</param> /// <returns> /// True if there is an item in the slot and it can be dropped, false otherwise. /// </returns> public bool CanUnequip(Slots slot) { if (!ActionBlockerSystem.CanUnequip(Owner)) { return(false); } var InventorySlot = SlotContainers[slot]; return(InventorySlot.ContainedEntity != null && InventorySlot.CanRemove(InventorySlot.ContainedEntity)); }