From 0872ecdbb826abb8370787d72b7300993879d8a6 Mon Sep 17 00:00:00 2001 From: ckaotik Date: Sun, 31 Oct 2010 14:11:43 +0100 Subject: [PATCH] minor clean up of the last commit --- helper.lua | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/helper.lua b/helper.lua index f639887..94e9aad 100644 --- a/helper.lua +++ b/helper.lua @@ -588,21 +588,6 @@ function BrokerGarbage:GetCached(itemID) end -- returns total bag slots and free bag slots of your whole inventory ---[[function BrokerGarbage:GetBagSlots() - local total, free = 0, 0 - local num - - for i = 0, 4 do - num = GetContainerNumSlots(i) - if num then - total = total + num - free = free + (GetContainerFreeSlots(i) and #GetContainerFreeSlots(i) or 0) - end - end - - return total, free -end]] - function BrokerGarbage:GetBagSlots() local numSlots, freeSlots = 0, 0 -- 1.7.9.5