Mercurial > wow > worldplan
diff ClassPlanShipments.lua @ 102:4d1520186ea4
7.2.5 changes
- Fixed order hall panel not initializing on fresh install
author | Nenue |
---|---|
date | Thu, 25 May 2017 17:24:00 -0400 |
parents | b29b35cb8539 |
children | 1197c8825eda |
line wrap: on
line diff
--- a/ClassPlanShipments.lua Thu May 18 16:44:05 2017 -0400 +++ b/ClassPlanShipments.lua Thu May 25 17:24:00 2017 -0400 @@ -107,12 +107,13 @@ AddShipmentInfo(AK_NOTES, name, texture, shipmentCapacity, shipmentsReady, shipmentsTotal, creationTime, duration, timeleftString) end - local talentTrees = CG_GetTalentTrees(garrisonType, select(3, UnitClass("player"))); + local talentTrees = C_Garrison.GetTalentTreeIDsByClassID(garrisonType, select(3, UnitClass("player"))); -- this is a talent that has completed, but has not been seen in the talent UI yet. local completeTalentID = CG_GetCompleteTalent(garrisonType); - --print('Talents:') + print('Talents:') if (talentTrees) then - for treeIndex, tree in ipairs(talentTrees) do + for treeIndex, treeID in ipairs(talentTrees) do + local _, _, tree = C_Garrison.GetTalentTreeInfoForID(garrisonType, treeID); for talentIndex, talent in ipairs(tree) do local showTalent = false; if (talent.isBeingResearched) or (talent.id == completeTalentID) then