Change "Slot.IsEmpty()" to "Slot.m_ItemCount <= 0"