I got this error after adding new bag. After error main bag stop opening and error keep poping up everytime i try to open bags.
11x BagBrother/core/classes/itemGroup.lua:112: attempt to compare number with boolean
[string "@BagBrother/core/classes/itemGroup.lua"]:112: in function Layout' [string "@BagBrother/core/classes/itemGroup.lua"]:32: in function <BagBrother/core/classes/itemGroup.lua:30> [string "=[C]"]: in functionShow'
[string "@BagBrother/core/api/frames.lua"]:32: in function `Show'
[string "@BagBrother/core/api/frames.lua"]:24: in function <BagBrother/core/api/frames.lua:23>
[string "@BagBrother/core/features/autoDisplay.lua"]:83: in function ToggleBackpack' [string "@Blizzard_MainMenuBarBagButtons/Classic/MainMenuBarBagButtons.lua"]:54: in functionBackpackButton_OnClick'
If anyone else having this issue this is fast fix:
add code below to file ..._classicera\Interface\AddOns\BagBrother\core\classes\itemGroup.lua line 112:
profile.bagBreak = tonumber(profile.bagBreak) or 0
(add it before line starting with "if x > 0 and (profile.bagBreak >"
I got this error after adding new bag. After error main bag stop opening and error keep poping up everytime i try to open bags. 11x BagBrother/core/classes/itemGroup.lua:112: attempt to compare number with boolean [string "@BagBrother/core/classes/itemGroup.lua"]:112: in function
Layout' [string "@BagBrother/core/classes/itemGroup.lua"]:32: in function <BagBrother/core/classes/itemGroup.lua:30> [string "=[C]"]: in function
Show' [string "@BagBrother/core/api/frames.lua"]:32: in function `Show' [string "@BagBrother/core/api/frames.lua"]:24: in function <BagBrother/core/api/frames.lua:23>[string "@BagBrother/core/features/autoDisplay.lua"]:83: in function
ToggleBackpack' [string "@Blizzard_MainMenuBarBagButtons/Classic/MainMenuBarBagButtons.lua"]:54: in function
BackpackButton_OnClick'Locals: self = Frame { buttons =
If anyone else having this issue this is fast fix: add code below to file ..._classicera\Interface\AddOns\BagBrother\core\classes\itemGroup.lua line 112: profile.bagBreak = tonumber(profile.bagBreak) or 0 (add it before line starting with "if x > 0 and (profile.bagBreak >"