File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,9 +194,6 @@ function Core:OnEnable()
194194 { " GET_ITEM_INFO_RECEIVED" },
195195 1 ,
196196 function ()
197- -- Re-scan if any profession gear slot returned nil on initial scan due to
198- -- uncached item data. equipment~=nil means scanned; equipment[i]==nil means
199- -- slot appeared empty because item data wasn't cached yet.
200197 if Data :NeedsProfessionEquipmentRescan () then
201198 Data :ScanProfessionEquipment ()
202199 self :Render ()
Original file line number Diff line number Diff line change @@ -467,8 +467,7 @@ function Data:ScanAll()
467467 self :ScanProfessionEquipment ()
468468end
469469
470- --- Returns true if profession equipment should be rescanned.
471- --- True when any profession has never been scanned (equipment==nil) or has pending slots.
470+ --- Returns true if any profession has unscanned or pending gear slots.
472471function Data :NeedsProfessionEquipmentRescan ()
473472 local character = self :GetCharacter ()
474473 if not character then return false end
You can’t perform that action at this time.
0 commit comments