diff --git a/Baggins-Filtering.lua b/Baggins-Filtering.lua index f3ee6da..42a1ef0 100644 --- a/Baggins-Filtering.lua +++ b/Baggins-Filtering.lua @@ -254,12 +254,12 @@ function Baggins:IsSpecialBag(bag) --luacheck: ignore 212 --@end-non-retail@]===] --@retail@ - if type(fam)~="number" then + if type(fam)~="number" then --luacheck: ignore 542 -- assume normal bag - self:Debug('IsSpecialBag Got Normal Bag') - elseif fam==0 then + --self:Debug('IsSpecialBag Got Normal Bag') + elseif fam==0 then --luacheck: ignore 542 -- normal bag - self:Debug('IsSpecialBag Got Normal Bag') + --self:Debug('IsSpecialBag Got Normal Bag') elseif fam==1 or fam==2 then -- quiver / ammo return prefix.."a", fam elseif fam==4 then -- soul diff --git a/Baggins.lua b/Baggins.lua index 8031357..45c5d24 100644 --- a/Baggins.lua +++ b/Baggins.lua @@ -1054,8 +1054,8 @@ function Baggins:OnBagUpdate(bagid) -- Update panel text. -- Optimization mostly for hunters - their bags change for every damn arrow they fire: local free=GetContainerNumFreeSlots(bagid) - if lastbag==bagid and lastbagfree==free then - self:Debug("OnBagUpdate LastBag and LastBagFree") + if lastbag==bagid and lastbagfree==free then --luacheck: ignore 542 + --self:Debug("OnBagUpdate LastBag and LastBagFree") else lastbag=bagid lastbagfree=free