Added getStackInSlotOnClosing()