Skip to content

Commit

Permalink
Disable broken tradeskill code
Browse files Browse the repository at this point in the history
All the tradeskill functions changed. I don't understand what this code
is doing so I'm not sure how to fix it.
  • Loading branch information
lilyball committed Aug 15, 2016
1 parent 15f7dfa commit 9e9dd55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PanelFactory.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ function Panda:PanelFiller()

if canCraft then Panda.RefreshButtonFactory(scroll or self, canCraft, "TOPRIGHT", scroll or self, "BOTTOMRIGHT", 4, -3) end

--[=[ -- All the tradeskill functions changed so this code doesn't work
if canCraft and not tracker and next(unknown) then
self:SetScript("OnEvent", function()
if IsTradeSkillLinked() or IsTradeSkillGuild() then return end
Expand All @@ -188,6 +189,7 @@ function Panda:PanelFiller()
self:RegisterEvent("TRADE_SKILL_SHOW")
tracker = true
end
]=]

if self.firstshowfunc then
self:firstshowfunc()
Expand Down

0 comments on commit 9e9dd55

Please sign in to comment.