Fixed inventory error when item cannot be used