Quantcast

Removed unneed condition

Robert [10-18-14 - 18:48]
Removed unneed condition
Filename
BagSync.lua
diff --git a/BagSync.lua b/BagSync.lua
index e5e68dc..1997a8d 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -337,7 +337,7 @@ local function ScanVoidBank()
 					slotItems[index] = itemID and tostring(itemID) or nil
 				end
 			end
-		end
+		end

 		BS_DB['void'][0] = slotItems
 	end
@@ -1244,7 +1244,7 @@ function BagSync:BAG_UPDATE(event, bagid)

 		--get the correct bag name based on it's id, trying NOT to use numbers as Blizzard may change bagspace in the future
 		--so instead I'm using constants :)
-		if bagid < -1 and (bagid ~= REAGENTBANK_CONTAINER) then return end
+		if bagid < -1 then return end

 		if (bagid >= NUM_BAG_SLOTS + 1) and (bagid <= NUM_BAG_SLOTS + NUM_BANKBAGSLOTS) then
 			bagname = 'bank'