From fd668492efbc9bf9f814fa2095b0792baae29570 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 18 Oct 2014 14:48:18 -0400 Subject: [PATCH] Removed unneed condition --- BagSync.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' -- 1.7.9.5