GearHelper

GearHelper

370k Downloads

Issue in BuildItemFromTooltip

Marsgames opened this issue ยท 1 comments

commented

Sequence :
- Deactivate GH from the game (checkbox in /gh)
- /reload
- Activate GH
- Check some items in your bags
- See this error

Message: Interface\AddOns\GearHelper\GearHelper.lua:514: bad argument #1 to 'match' (string expected, got nil)
Time: Thu Feb 21 09:32:49 2019
Count: 7
Stack: Interface\AddOns\GearHelper\GearHelper.lua:514: bad argument #1 to 'match' (string expected, got nil)
[C]: in function `match'
Interface\AddOns\GearHelper\GearHelper.lua:514: in function `BuildItemFromTooltip'
Interface\AddOns\GearHelper\GearHelper.lua:611: in function `GetItemByLink'
Interface\AddOns\GearHelper\GearHelper.lua:734: in function `NewWeightCalculation'
Interface\AddOns\GearHelper\GearHelper.lua:504: in function `IsItemBetter'
Interface\AddOns\GearHelper\GearHelper.lua:1063: in function <Interface\AddOns\GearHelper\GearHelper.lua:1038>
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: in function `SetBagItem'
Interface\FrameXML\ContainerFrame.lua:1373: in function `ContainerFrameItemButton_OnEnter'
[string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>

Locals: (*temporary) = nil
(*temporary) = "battlepet"
(*temporary) = "string expected, got nil"
commented

fixer with a previous commit